1--TEST-- 2Test compress.zlib:// scheme with the unlink function 3--EXTENSIONS-- 4zlib 5--FILE-- 6<?php 7$inputFileName = __DIR__."/004.txt.gz"; 8$srcFile = "compress.zlib://$inputFileName"; 9echo "file_exists="; 10var_dump(file_exists($srcFile)); 11echo "is_file="; 12var_dump(is_file($srcFile)); 13echo "is_dir="; 14var_dump(is_dir($srcFile)); 15echo "is_readable="; 16var_dump(is_readable($srcFile)); 17echo "\n"; 18echo "filesize="; 19var_dump(filesize($srcFile)); 20echo "filetype="; 21var_dump(filetype($srcFile)); 22echo "fileatime="; 23var_dump(fileatime($srcFile)); 24 25?> 26--EXPECTF-- 27file_exists=bool(false) 28is_file=bool(false) 29is_dir=bool(false) 30is_readable=bool(false) 31 32filesize= 33Warning: filesize(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d 34bool(false) 35filetype= 36Warning: filetype(): Lstat failed for compress.zlib://%s004.txt.gz in %s on line %d 37bool(false) 38fileatime= 39Warning: fileatime(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d 40bool(false) 41