mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02: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
14 lines
338 B
PHP
14 lines
338 B
PHP
--TEST--
|
|
Test compress.zlib:// scheme with the unlink function
|
|
--EXTENSIONS--
|
|
zlib
|
|
--FILE--
|
|
<?php
|
|
$inputFileName = __DIR__."/data/test.txt.gz";
|
|
$srcFile = "compress.zlib://$inputFileName";
|
|
unlink($srcFile);
|
|
var_dump(file_exists($inputFileName));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: unlink(): ZLIB does not allow unlinking in %s on line %d
|
|
bool(true)
|