php-src/Zend/tests/temporary_cleaning_003.phpt

20 lines
216 B
Plaintext
Raw Normal View History

2015-07-10 00:46:57 +00:00
--TEST--
Fundamental memory leak test on temporaries
--FILE--
<?php
function ops() {
throw new Exception();
}
try{
$x = 1;
$r = [$x] + ops();
} catch (Exception $e) {
}
?>
==DONE==
--EXPECT--
==DONE==