php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51366 [DE] Syntax of file_get_contents()
Submitted: 2010-03-23 15:26 UTC Modified: 2010-04-05 20:32 UTC
From: thwien at gmx dot net Assigned: wiesemann (profile)
Status: Closed 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: thwien at gmx dot net
New email:
PHP Version: OS:

 

 [2010-03-23 15:26 UTC] thwien at gmx dot net
Description:
------------
The German manual shows

string file_get_contents  (  string $filename  [,  int $use_include_path  [,  resource $context  ]] )

but the English manual shows

string file_get_contents  (  string $filename  [,  int $flags = 0  [,  resource $context  [,  int $offset = -1  [,  int $maxlen = -1  ]]]] )

I guess, the English one is correct. This error is quite confusing.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-23 18:55 UTC] yannick@php.net
-Summary: Syntax of file_get_contents() +Summary: [DE] Syntax of file_get_contents() -Package: Documentation problem +Package: Translation problem
 [2010-03-26 10:19 UTC] thwien at gmx dot net
Also the German manual shows

array file  (  string $filename  [,  int $use_include_path  ] )

and the English one shows

array file  (  string $filename  [,  int $flags = 0  [,  resource $context  ]] )
 [2010-04-05 20:31 UTC] wiesemann@php.net
Automatic comment from SVN on behalf of wiesemann
Revision: http://svn.php.net/viewvc/?view=revision&revision=297535
Log: - sync to EN
- take over
- bug #51366: [DE] Syntax of file_get_contents()
 [2010-04-05 20:32 UTC] wiesemann@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: wiesemann
 [2010-04-05 20:32 UTC] wiesemann@php.net
I've updated both translations. They weren't wrong, but just outdated.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon May 25 17:01:32 2020 UTC