GC improvement

This commit is contained in:
Dmitry Stogov 2018-03-01 03:17:21 +03:00
parent 4631a5e2e1
commit fd348ec43f
2 changed files with 439 additions and 349 deletions

View file

@ -18,9 +18,11 @@ $a = new Foo();
$a->a = $a;
unset($a);
var_dump(gc_collect_cycles());
var_dump(gc_collect_cycles());
echo "ok\n"
?>
--EXPECT--
-> int(1)
-> int(0)
int(1)
int(1)
ok

File diff suppressed because it is too large Load diff