mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
14 lines
242 B
Plaintext
14 lines
242 B
Plaintext
|
--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
|