xref: /PHP-8.0/Zend/tests/bug48428.phpt (revision f8d79582)
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