cvs: php-src(PHP_5_2) /ext/standard/tests/file bug27508.phpt
| From: | Antony Dovgal | Date: | Wed, 21 Feb 2007 22:08:08 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/file bug27508.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-43196@lists.php.net to get a copy of this message | ||
tony2001 Wed Feb 21 22:08:08 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/file bug27508.phpt
Log:
MFH
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/bug27508.phpt?r1=1.1&r2=1.1.4.1&diff_format=u
Index: php-src/ext/standard/tests/file/bug27508.phpt
diff -u php-src/ext/standard/tests/file/bug27508.phpt:1.1
php-src/ext/standard/tests/file/bug27508.phpt:1.1.4.1
--- php-src/ext/standard/tests/file/bug27508.phpt:1.1 Wed May 11 02:01:44 2005
+++ php-src/ext/standard/tests/file/bug27508.phpt Wed Feb 21 22:08:08 2007
@@ -54,12 +54,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