/
proc
/
3430793
/
cwd
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
zip
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/cwd/usr/local/lsws/phpbuild/php-8.0.7/ext/zip/tests/bug53885.phpt
--TEST-- Bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) --SKIPIF-- <?php if(!extension_loaded('zip')) die('skip'); ?> --FILE-- <?php $fname = __DIR__."/test53885.zip"; if(file_exists($fname)) unlink($fname); touch($fname); $nx=new ZipArchive(); $nx->open($fname); $nx->locateName("a",ZIPARCHIVE::FL_UNCHANGED); $nx->statName("a",ZIPARCHIVE::FL_UNCHANGED); ?> ==DONE== --CLEAN-- <?php $fname = __DIR__."/test53885.zip"; unlink($fname); ?> --EXPECTF-- Deprecated: ZipArchive::open(): Using empty file as ZipArchive is deprecated in %s ==DONE==
Copyright ©2k19 -
Hexid
|
Tex7ure