/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
zlib
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/zlib/tests/gzwrite_variation1.phpt
--TEST-- Test function gzwrite() by calling it when file is opened for reading --SKIPIF-- <?php if (!extension_loaded("zlib")) { print "skip - ZLIB extension not loaded"; } ?> --FILE-- <?php $filename = __DIR__."/004.txt.gz"; $h = gzopen($filename, 'r'); $str = "Here is the string to be written. "; $length = 10; var_dump(gzwrite( $h, $str ) ); var_dump(gzread($h, 10)); var_dump(gzwrite( $h, $str, $length ) ); gzclose($h); ?> --EXPECT-- int(0) string(10) "When you'r" int(0)
Copyright ©2k19 -
Hexid
|
Tex7ure