mirror of
https://github.com/php/php-src.git
synced 2026-04-21 23:18:13 +02:00
c5401854fc
This should fix most of the remaining issues with tabs and spaces being mixed in tests.
19 lines
310 B
PHP
19 lines
310 B
PHP
--TEST--
|
|
Bug #61139 (gzopen leaks when specifying invalid mode)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('zlib')) {
|
|
die('skip - zlib extension not loaded');
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
gzopen('someFile', 'c');
|
|
--CLEAN--
|
|
<?php
|
|
unlink('someFile');
|
|
?>
|
|
--EXPECTF--
|
|
Warning: gzopen(): gzopen failed in %s on line %d
|