|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80231 [pt_BR] Inconsistency with docs for file_get_contents
Submitted: 2020-10-13 21:54 UTC Modified: 2021-10-04 15:21 UTC
From: ynhockey at gmail dot com Assigned: ae (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: --
Private report: No CVE-ID: None
 [2020-10-13 21:54 UTC] ynhockey at gmail dot com
From manual page:

The second param for this function is a Boolean $use_include_path in the English version, but int $flags in the Brazilian Portuguese version:

Those flags might actually be useful, but which is correct?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-13 22:24 UTC]
-Summary: Inconsistency between English and Brazilian Portuguese docs +Summary: [pt_BR] Inconsistency with docs for file_get_contents -Package: Filesystem function related +Package: Translation problem
 [2020-10-13 22:24 UTC]
The English version is official, the others are translations.

The docs for file_get_contents are already marked as being out of date for pt_BR translation - because there's much more that needs to be fixed than just that second argument.
If you'd like to contribute to the translation project yourself, each page has an Edit link that takes you to the online editor where you can submit a patch for just about everything.
 [2020-10-13 23:12 UTC]
Note the pt_BR translation is only patched via GitHub:
 [2021-10-04 15:21 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: ae
 [2021-10-04 15:21 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 13:01:29 2024 UTC