xref: /PHP-8.2/Zend/tests/bug71196.phpt (revision aa4a83fe)
1--TEST--
2Bug #71196 (Memory leak with out-of-order live ranges)
3--FILE--
4<?php
5try  {
6        $a = "1";
7        [1, (y().$a.$a) . ($a.$a)];
8} catch (Error $e) {
9        var_dump($e->getMessage());
10}
11?>
12--EXPECT--
13string(30) "Call to undefined function y()"
14