mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
- Use INI sections - Use CGI sections - Move data into a subfolder - Remove ZPP tests - Fix various bugs within tests - Simplify some Found while working on #18879
21 lines
306 B
PHP
21 lines
306 B
PHP
--TEST--
|
|
compress.zlib:// wrapper
|
|
--EXTENSIONS--
|
|
zlib
|
|
--FILE--
|
|
<?php
|
|
chdir(__DIR__. "/data");
|
|
|
|
// Relative path
|
|
$fp = fopen("compress.zlib://test.txt.gz", "rb");
|
|
fclose($fp);
|
|
|
|
// Absolute path
|
|
$fp = fopen("compress.zlib://". __DIR__. "/data/test.txt.gz", "rb");
|
|
fclose($fp);
|
|
|
|
echo "ok\n";
|
|
?>
|
|
--EXPECT--
|
|
ok
|