mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
14 lines
266 B
PHP
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
|