1--TEST--
2Temporary leak on exception
3--XFAIL--
4See Bug #62210 and attempt to fix it in "tmp_livelibess" branch
5--FILE--
6<?php
7
8function ops() {
9    throw new Exception();
10}
11
12try {
13	$x = 2;
14	$y = new stdClass;
15	while ($x-- && new stdClass) {
16		$r = [$x] + ($y ? ((array) $x) + [2] : ops());
17		$y = (array) $y;
18	}
19} catch (Exception $e) {
20}
21
22?>
23==DONE==
24--EXPECT--
25==DONE==
26