1--TEST-- 2Test compress.zlib:// scheme with the directory functions 3--SKIPIF-- 4<?php 5if (!extension_loaded("zlib")) { 6 print "skip - ZLIB extension not loaded"; 7} 8?> 9--FILE-- 10<?php 11$inputFileName = dirname(__FILE__)."/dir.gz"; 12$srcFile = "compress.zlib://$inputFileName"; 13var_dump(mkdir($srcFile)); 14var_dump(is_dir($srcFile)); 15var_dump(opendir($srcFile)); 16var_dump(rmdir($srcFile)); 17?> 18===DONE=== 19--EXPECTF-- 20bool(false) 21bool(false) 22 23Warning: opendir(compress.zlib://%s/dir.gz): failed to open dir: not implemented in %s on line %d 24bool(false) 25bool(false) 26===DONE=== 27