1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

- Added test: For some reason this fails with ZTS mode and "outside-src-tree-build"

This commit is contained in:
foobar
2005-04-25 14:04:00 +00:00
parent 03593f89fb
commit d0f85d3e27

View File

@@ -0,0 +1,17 @@
--TEST--
compress.zlib:// wrapper
--FILE--
<?php
// Relative path
$fp = fopen("compress.zlib://ext/xsl/tests/xslt.xsl.gz", "wb");
fclose($fp);
// Absolute path
$fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "wb");
fclose($fp);
echo "ok\n";
?>
--EXPECT--
ok