svn: /phpdoc/en/trunk/reference/zip/ziparchive/ getstream.xml
| From: | Adam Harvey | Date: | Thu, 08 Nov 2012 02:21:41 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/zip/ziparchive/ getstream.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10672@lists.php.net to get a copy of this message | ||
aharvey Thu, 08 Nov 2012 02:21:41 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328279
Log:
Update example 2 of ZipArchive::getStream().
Fixes doc bug #63461 (Error in example code #2).
Bugs: https://bugs.php.net/63461 (Open) Error in example
code #2
https://bugs.php.net/2 (Closed) hash_environment
Changed paths:
U phpdoc/en/trunk/reference/zip/ziparchive/getstream.xml
Modified: phpdoc/en/trunk/reference/zip/ziparchive/getstream.xml
===================================================================
--- phpdoc/en/trunk/reference/zip/ziparchive/getstream.xml 2012-11-08 02:16:24 UTC (rev 328278)
+++ phpdoc/en/trunk/reference/zip/ziparchive/getstream.xml 2012-11-08 02:21:41 UTC (rev 328279)
@@ -74,8 +74,8 @@
}
while (!feof($fp)) {
$contents .= fread($fp, 2);
- echo "$contents\n";
}
+echo "$contents\n";
fclose($fp);
echo "done.\n";
?>