php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79009 [FR] /manual/fr/function.include.php claims include returns FALSE
Submitted: 2019-12-20 18:27 UTC Modified: 2020-01-20 02:40 UTC
From: chealer at gmail dot com Assigned: girgias (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 13 = ?
Subscribe to this entry?

 
 [2019-12-20 18:27 UTC] chealer at gmail dot com
Description:
------------
According to the French version of include's documentation, include returns FALSE and triggers a warning:
>Gestion du retour : include retourne FALSE et émet une alerte.

In reality, this is obviously only the case on failure, as the English version indicates:
>Handling Returns: include returns FALSE on failure and raises a warning.

https://www.php.net/manual/fr/function.include.php 


There is by the way an equally major error in the very next sentence. Overall, the French page's quality is borderline (the error density is high and I would for my part very much prefer reading the English version).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-20 19:23 UTC] requinix@php.net
-Summary: /manual/fr/function.include.php claims include returns FALSE +Summary: [FR] /manual/fr/function.include.php claims include returns FALSE -Type: Bug +Type: Documentation Problem -Package: Documentation problem +Package: Translation problem
 [2019-12-20 23:34 UTC] girgias@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: girgias
 [2019-12-20 23:34 UTC] girgias@php.net
Thanks for pointing this out.

Some of the translated pages haven't been reviewed in a long time, any help is appreciated and currently the best way to contribute is by using the online doc editor at edit.php.net

I will try to have a look a this soon, but no promises on the timeline.
 [2020-01-20 02:36 UTC] girgias@php.net
Automatic comment from SVN on behalf of girgias
Revision: http://svn.php.net/viewvc/?view=revision&revision=348956
Log: Fix Doc Bug #79009
 [2020-01-20 02:40 UTC] girgias@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 01:01:28 2024 UTC