Doc #79009 [Opn->Ver]: [FR] /manual/fr/function.include.php claims include returns FALSE
| From: | girgias@php.net | Date: | Fri, 20 Dec 2019 23:34:07 +0000 |
| Subject: | Doc #79009 [Opn->Ver]: [FR] /manual/fr/function.include.php claims include returns FALSE | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17156@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79009&edit=1
ID: 79009
Updated by: girgias@php.net
Reported by: chealer at gmail dot com
Summary: [FR] /manual/fr/function.include.php claims include
returns FALSE
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Translation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: girgias
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2019-12-20 18:27:13] 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).
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79009&edit=1