php-src/ext/zlib/tests/zlib_wrapper_fstat_basic.phpt

19 lines
303 B
PHP

--TEST--
Test function fstat() on zlib wrapper
--SKIPIF--
<?php
if (!extension_loaded("zlib")) {
print "skip - ZLIB extension not loaded";
}
?>
--FILE--
<?php
$f = dirname(__FILE__)."/004.txt.gz";
$h = gzopen($f, "r");
var_dump(fstat($h));
fclose($h);
?>
===DONE===
--EXPECT--
bool(false)
===DONE===