mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
First pass at moving `Zend/tests/bug*` tests to existing sub directories Work towards GH-15631
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
|