|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: thwien at gmx dot net
New email:
PHP Version: OS:


 [2010-03-23 15:26 UTC] thwien at gmx dot net
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-23 18:55 UTC]
-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]
Automatic comment from SVN on behalf of wiesemann
Log: - sync to EN
- take over
- bug #51366: [DE] Syntax of file_get_contents()
 [2010-04-05 20:32 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: wiesemann
 [2010-04-05 20:32 UTC]
I've updated both translations. They weren't wrong, but just outdated.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Nov 29 02:05:52 2022 UTC