/
proc
/
3430793
/
cwd
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
file
/
File Upload :
llllll
Current File: //proc/3430793/cwd/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/file/bug30362.phpt
--TEST-- Bug #30362 (stream_get_line() not working as documented) --FILE-- <?php $resource = fopen(__DIR__.'/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
Copyright ©2k19 -
Hexid
|
Tex7ure