cvs: phpdoc /en/reference/filesystem/functions fwrite.xml
| From: | Kenneth Schwartz | Date: | Mon, 23 Feb 2004 08:09:32 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions fwrite.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969359154@lists.php.net to get a copy of this message | ||
irchtml Mon Feb 23 03:09:32 2004 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions fwrite.xml
Log:
updated example (per user note)
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fwrite.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/filesystem/functions/fwrite.xml
diff -u phpdoc/en/reference/filesystem/functions/fwrite.xml:1.8
phpdoc/en/reference/filesystem/functions/fwrite.xml:1.9
--- phpdoc/en/reference/filesystem/functions/fwrite.xml:1.8 Mon Dec 15 11:49:45 2003
+++ phpdoc/en/reference/filesystem/functions/fwrite.xml Mon Feb 23 03:09:31 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fwrite">
<refnamediv>
@@ -62,7 +62,7 @@
}
// Write $somecontent to our opened file.
- if (!fwrite($handle, $somecontent)) {
+ if (fwrite($handle, $somecontent) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
}