1--TEST-- 2Bug #61139 (gzopen leaks when specifying invalid mode) 3--EXTENSIONS-- 4zlib 5--FILE-- 6<?php 7 8gzopen('someFile', 'c'); 9--CLEAN-- 10<?php 11 unlink('someFile'); 12?> 13--EXPECTF-- 14Warning: gzopen(): gzopen failed in %s on line %d 15