blob: 31d08866ba30741df53e9aae8118d54ce82a0ff2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--TEST--
Test compress.zlib:// scheme with the unlink function
--SKIPIF--
<?php
if (!extension_loaded("zlib")) {
print "skip - ZLIB extension not loaded";
}
?>
--FILE--
<?php
$inputFileName = __DIR__."/004.txt.gz";
$srcFile = "compress.zlib://$inputFileName";
stat($srcFile);
lstat($srcFile);
?>
--EXPECTF--
Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
|