mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
a197c0b751
# 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
|