summaryrefslogtreecommitdiff
path: root/Zend/tests/bug48428.phpt
blob: 0cda84dea4ee3e1a2ed9df560e9587d7d25b9204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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