php-src/Zend/tests/temporary_cleaning_014.phpt

16 lines
235 B
PHP

--TEST--
Leak in JMP_SET
--SKIPIF--
<?php if (!extension_loaded("gmp")) print "skip"; ?>
--FILE--
<?php
set_error_handler(function() { throw new Exception; });
try {
new GMP ?: null;
} catch (Exception $e) {
}
?>
DONE
--EXPECT--
DONE