php-src/Zend/tests/temporary_cleaning_003.phpt
2015-07-10 03:46:57 +03:00

22 lines
290 B
PHP

--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==