| Current Path : /hdd/hdd21/main/php/php-7.3.1/Zend/tests/ |
| Current File : //hdd/hdd21/main/php/php-7.3.1/Zend/tests/bug71163.phpt |
--TEST--
Bug #71163 (Segmentation Fault (cleanup_unfinished_calls))
--FILE--
<?php
spl_autoload_register(function ($name) {
eval ("class $name extends Exception { public static function foo() {}}");
throw new Exception("boom");
});
function test2() {
try {
Test::foo();
} catch (Exception $e) {
echo "okey";
}
}
function test() {
test2();
}
test();
?>
--EXPECT--
okey