mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
15 lines
332 B
PHP
15 lines
332 B
PHP
--TEST--
|
|
Test compress.zlib:// scheme with the unlink function
|
|
--EXTENSIONS--
|
|
zlib
|
|
--FILE--
|
|
<?php
|
|
$inputFileName = __DIR__."/004.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)
|