summaryrefslogtreecommitdiff
path: root/Zend/tests/bug48428.phpt
blob: ae9ac936a3bbc5bb1048e2aaa216b1ef37846f32 (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