For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2006 > cvs: phpdoc /en/reference/filesystem/functions file-put-contents.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/filesystem/functions file-put-contents.xml
Hannes Magnusson

2006-08-26, 7:57 am

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/phpdo...0&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>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com