mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
22 lines
290 B
PHP
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==
|