php-src/Zend/tests/bug48428.phpt
2020-02-03 22:52:20 +01:00

14 lines
266 B
PHP

--TEST--
Bug #48428 (crash when exception is thrown while passing function arguments)
--FILE--
<?php
try {
function x() { throw new Exception("ERROR"); }
x(x());
} catch(Exception $e) {
echo($e -> getMessage());
}
?>
--EXPECT--
ERROR