You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
569 B

--TEST--
Test compress.zlib:// scheme with the directory functions
--SKIPIF--
<?php
if (!extension_loaded("zlib")) {
print "skip - ZLIB extension not loaded";
}
?>
--FILE--
<?php
$inputFileName = dirname(__FILE__)."/dir.gz";
$srcFile = "compress.zlib://$inputFileName";
var_dump(mkdir($srcFile));
var_dump(is_dir($srcFile));
var_dump(opendir($srcFile));
var_dump(rmdir($srcFile));
?>
===DONE===
--EXPECTF--
bool(false)
bool(false)
Warning: opendir(compress.zlib://%s/dir.gz): failed to open dir: not implemented in %s on line %d
bool(false)
bool(false)
===DONE===