diff options
Diffstat (limited to 'ext/zlib/tests/bug61139.phpt')
-rw-r--r-- | ext/zlib/tests/bug61139.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/zlib/tests/bug61139.phpt b/ext/zlib/tests/bug61139.phpt index 71961a64dc..ab7c74e9cc 100644 --- a/ext/zlib/tests/bug61139.phpt +++ b/ext/zlib/tests/bug61139.phpt @@ -1,18 +1,18 @@ --TEST-- Bug #61139 (gzopen leaks when specifying invalid mode) --SKIPIF-- -<?php +<?php if (!extension_loaded('zlib')) { - die('skip - zlib extension not loaded'); -} + die('skip - zlib extension not loaded'); +} ?> --FILE-- <?php gzopen('someFile', 'c'); --CLEAN-- -<?php - unlink('someFile'); +<?php + unlink('someFile'); ?> --EXPECTF-- Warning: gzopen(): gzopen failed in %s on line %d |