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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
39 - 18 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 17:01:34 2024 UTC