php-8.0.30-src/Zend/tests/temporary_cleaning_003.phpt

20 lines
216 B
PHP

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