/
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/bug35781.phpt
--TEST-- Bug #35781 (stream_filter_append() causes segfault) --FILE-- <?php $filename = __DIR__."/bug35781.txt"; $fp = fopen($filename, "w"); stream_filter_append($fp, "string.rot13", -49); fwrite($fp, "This is a test\n"); rewind($fp); fpassthru($fp); fclose($fp); var_dump(file_get_contents($filename)); @unlink($filename); echo "Done\n"; ?> --EXPECTF-- Notice: fpassthru(): Read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d string(15) "Guvf vf n grfg " Done
Copyright ©2k19 -
Hexid
|
Tex7ure