mirror of
https://github.com/php/php-src.git
synced 2025-01-23 20:23:31 +08:00
nuking that file was not very good idea :)
This commit is contained in:
parent
28e68301dc
commit
71adb81e96
@ -4,11 +4,11 @@ compress.zlib:// wrapper
|
||||
<?php
|
||||
|
||||
// Relative path
|
||||
$fp = fopen("compress.zlib://ext/xsl/tests/xslt.xsl.gz", "wb");
|
||||
$fp = fopen("compress.zlib://ext/xsl/tests/xslt.xsl.gz", "rb");
|
||||
fclose($fp);
|
||||
|
||||
// Absolute path
|
||||
$fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "wb");
|
||||
$fp = fopen("compress.zlib://". dirname(__FILE__). "/../../../ext/xsl/tests/xslt.xsl.gz", "rb");
|
||||
fclose($fp);
|
||||
|
||||
echo "ok\n";
|
||||
|
Loading…
Reference in New Issue
Block a user