mirror of
https://github.com/php/php-src.git
synced 2024-12-21 16:00:18 +08:00
a2412a68cd
# These tests were failing on different configurations, so adding them # all to get more chances of seeing one failing in case of problem.
14 lines
242 B
PHP
14 lines
242 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
|