|  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: 2020-10-13 23:12 UTC
From: ynhockey at gmail dot com Assigned:
Status: Open Package: Translation problem
PHP Version: Irrelevant OS: --
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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:
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Mar 05 04:01:23 2021 UTC