cvs: php-src /ext/standard/tests/file bug27508.phpt
| From: | Antony Dovgal | Date: | Wed, 21 Feb 2007 22:08:00 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/file bug27508.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-43195@lists.php.net to get a copy of this message | ||
tony2001 Wed Feb 21 22:08:00 2007 UTC
Modified files:
/php-src/ext/standard/tests/file bug27508.phpt
Log:
minor improvements
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug27508.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/file/bug27508.phpt
diff -u php-src/ext/standard/tests/file/bug27508.phpt:1.3
php-src/ext/standard/tests/file/bug27508.phpt:1.4
--- php-src/ext/standard/tests/file/bug27508.phpt:1.3 Thu Nov 9 00:33:54 2006
+++ php-src/ext/standard/tests/file/bug27508.phpt Wed Feb 21 22:08:00 2007
@@ -57,12 +57,13 @@
rewind($fp);
echo ftell($fp) . "\n";
debug_zval_dump(feof($fp));
-while (!feof($fp)) {
+while ($fp && !feof($fp)) {
echo fgets($fp);
}
fclose($fp);
unlink($tn);
+?>
--EXPECT--
bool(false) refcount(1)
0