php.net |  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
Description:
------------
---
From manual page: https://php.net/function.file-get-contents
---

The second param for this function is a Boolean $use_include_path in the English version, but int $flags in the Brazilian Portuguese version: https://www.php.net/manual/pt_BR/function.file-get-contents.php

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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-13 22:24 UTC] requinix@php.net
-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] requinix@php.net
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] girgias@php.net
Note the pt_BR translation is only patched via GitHub: https://github.com/phpdocbrbridge/traducao
 [2021-10-04 15:21 UTC] ae@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ae
 [2021-10-04 15:21 UTC] ae@php.net
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: Sun Dec 22 06:01:30 2024 UTC