/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
bz2
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/bz2/tests/bug72613.phpt
--TEST-- Bug #72613 (Inadequate error handling in bzread()) --SKIPIF-- <?php if (!extension_loaded("bz2")) print "skip"; ?> --FILE-- <?php $fp = bzopen(__DIR__.'/72613.bz2', 'r'); if ($fp === FALSE) { exit("ERROR: bzopen()"); } $data = ""; while (!feof($fp)) { $res = bzread($fp); if ($res === FALSE) { exit("ERROR: bzread()"); } $data .= $res; } bzclose($fp); ?> DONE --EXPECT-- ERROR: bzread()
Copyright ©2k19 -
Hexid
|
Tex7ure