Bug #79009 [NEW]: /manual/fr/function.include.php claims include returns FALSE
| From: | chealer at gmail dot com | Date: | Fri, 20 Dec 2019 18:27:13 +0000 |
| Subject: | Bug #79009 [NEW]: /manual/fr/function.include.php claims include returns FALSE | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-17155@lists.php.net to get a copy of this message | ||
From: chealer at gmail dot com
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Bug
Bug description:/manual/fr/function.include.php claims include returns FALSE
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 bug report at https://bugs.php.net/bug.php?id=79009&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79009&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79009&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79009&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79009&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79009&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79009&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79009&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79009&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79009&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79009&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79009&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79009&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79009&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79009&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79009&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79009&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79009&r=mysqlcfg