php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #51673 Parameter Name mismatch for file_get_contents
Submitted: 2010-04-27 14:11 UTC Modified: 2010-04-27 14:27 UTC
From: godsboss at gmx dot de Assigned: rquadling (profile)
Status: Closed Package: Documentation 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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: godsboss at gmx dot de
New email:
PHP Version: OS:

 

 [2010-04-27 14:11 UTC] godsboss at gmx dot de
Description:
------------
In the english documentation for file_get_contents there is a mismatch between the parameter names in the two sections "Description" and "Parameters".

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

Parameters:
"filename
 (…)
use_include_path
 (…)
context"

Either $flags should be renamed to $use_include_path or vice versa.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-27 14:27 UTC] rquadling@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=298656
Log: Param is use_include_path. Fix#51673
 [2010-04-27 14:27 UTC] rquadling@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rquadling
 [2010-04-27 14:27 UTC] rquadling@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 11:00:01 2026 UTC