cvs: php-src(PHP_5_0) /ext/standard/tests/file bug30362.phpt bug30362.txt

From: Date: Mon, 04 Apr 2005 18:15:41 +0000
Subject: cvs: php-src(PHP_5_0) /ext/standard/tests/file bug30362.phpt bug30362.txt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31227@lists.php.net to get a copy of this message
sniper Mon Apr 4 14:15:41 2005 EDT Added files: (Branch: PHP_5_0) /php-src/ext/standard/tests/file bug30362.phpt bug30362.txt Log: MFH http://cvs.php.net/co.php/php-src/ext/standard/tests/file/bug30362.phpt?r=1.1&p=1 Index: php-src/ext/standard/tests/file/bug30362.phpt +++ php-src/ext/standard/tests/file/bug30362.phpt --TEST-- Bug #30362 (stream_get_line() not working as documented) --FILE-- <?php $resource = fopen(dirname(__FILE__).'/bug30362.txt', 'rb'); for ($i = 0; ($i < 10) && !feof($resource); ++$i ) { $a = "Y"; $line = stream_get_line($resource, 50, $a); echo $line . "\n"; } fclose($resource); ?> --EXPECT-- 111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 111111111 http://cvs.php.net/co.php/php-src/ext/standard/tests/file/bug30362.txt?r=1.1&p=1 Index: php-src/ext/standard/tests/file/bug30362.txt +++ php-src/ext/standard/tests/file/bug30362.txt 111Y111111111Y111111111Y111111111Y111111111Y111111111Y111111111Y111111111Y111111111Y111111111

« previous php.cvs (#31227) next »