php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #42430 Typo in english file_put_contents() documentation
Submitted: 2007-08-26 02:20 UTC Modified: 2007-08-26 04:21 UTC
From: senthryl at NOSPAM dot geemail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Debian
Private report: No CVE-ID: None
 [2007-08-26 02:20 UTC] senthryl at NOSPAM dot geemail dot com
Description:
------------
On the live English documentation for file_put_contents() available at:
http://www.php.net/manual/en/function.file-put-contents.php

A typo exists in Table 92, "Available flags", in the description for "FILE_TEXT":

"...You can specify a different encoding by creating a custom context or by using the stream_default_encoding() to change the dafault..."

"dafault" should, of course, be "default".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-26 04:21 UTC] nicobn@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.


 [2020-02-07 06:10 UTC] phpdocbot@php.net
Automatic comment on behalf of nicobn
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b9384f9d4ce8328c9a12933ccb9e06266b84d64b
Log: Fixed bug #42430
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 04 12:00:03 2025 UTC