![]() ![]() | ![]() |
php 5.4.3+patches
--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