blob: eaca00369bf07b55f4c5d0c141231e15a886a08e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--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');
--EXPECTF--
Warning: gzopen(): gzopen failed in %s on line %d
|