summaryrefslogtreecommitdiff
path: root/Zend/tests/temporary_cleaning_003.phpt
blob: 0f7d9450eb6b9f9c93920c8962501405db149499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
Fundamental memory leak test on temporaries
--XFAIL--
See Bug #62210 and attempt to fix it in "tmp_livelibess" branch
--FILE--
<?php

function ops() {
    throw new Exception();
}

try{
    $x = 1;
    $r = [$x] + ops();
} catch (Exception $e) {
}

?>
==DONE==
--EXPECT--
==DONE==