mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +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
|