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: 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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ynhockey at gmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 30 20:01:27 2020 UTC