xref: /PHP-5.6/Zend/tests/bug48428.phpt (revision a197c0b7)
1--TEST--
2Bug #48428 (crash when exception is thrown while passing function arguments)
3--FILE--
4<?php
5try {
6		function x() { throw new Exception("ERROR"); }
7				x(x());
8} catch(Exception $e) {
9		echo($e -> getMessage());
10}
11?>
12--EXPECT--
13ERROR
14