mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
16 lines
235 B
PHP
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
|