bjori Sat Aug 26 11:30:09 2006 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions file-put-contents.xml
Log:
Returns false on failure, not bytes_written (user note: glen -AT- delfi dot
ee)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/file-put-contents.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/file-put-contents.xml
diff -u phpdoc/en/reference/filesystem/functions/file-put-contents.xml:1.9
phpdoc/en/reference/filesystem/functions/file-put-contents.xml:1.10
--- phpdoc/en/reference/filesystem/functions/file-put-contents.xml:1.9 Sat Jun
17 00:16:58 2006
+++ phpdoc/en/reference/filesystem/functions/file-put-contents.xml Sat Aug
26 11:30:09 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="function.file-put-contents">
<refnamediv>
<refname>file_put_contents</refname>
@@ -80,7 +80,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- The function returns the amount of bytes that were written to the file.
+ The function returns the amount of bytes that were written to the file, or
+ &false; on failure.
</para>
</refsect1>