php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #34867 documentation error
Submitted: 2005-10-14 06:20 UTC Modified: 2005-10-14 09:10 UTC
From: php at naturalnetworks dot ca Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
 [2005-10-14 06:20 UTC] php at naturalnetworks dot ca
Description:
------------
http://ca.php.net/manual/en/function.file.php

says:

"Identical to readfile(), except that file() returns the file in an array."

implies that readfile() returns the file in another format, whereas it actually outputs the file.

it should actually be "file_get_contents()" that is "identical" to it.

-kb


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-14 09:10 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 22:01:33 2025 UTC