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