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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chealer at gmail dot com
New email:
PHP Version: OS:

 

 [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

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: Sat Sep 07 23:01:27 2024 UTC