mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
16 lines
394 B
PHP
16 lines
394 B
PHP
--TEST--
|
|
Test compress.zlib:// scheme with the unlink function
|
|
--EXTENSIONS--
|
|
zlib
|
|
--FILE--
|
|
<?php
|
|
$inputFileName = __DIR__."/004.txt.gz";
|
|
$srcFile = "compress.zlib://$inputFileName";
|
|
stat($srcFile);
|
|
lstat($srcFile);
|
|
?>
|
|
--EXPECTF--
|
|
Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
|
|
|
|
Warning: lstat(): Lstat failed for compress.zlib://%s/004.txt.gz in %s on line %d
|