![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Bug #63680 (Memleak in splfixedarray with cycle reference) 1.1.1.2 ! misho 3: --INI-- ! 4: zend.enable_gc=1 1.1 misho 5: --FILE-- 6: <?php 7: function dummy() { 8: $a = new SplFixedArray(1); 9: $b = new SplFixedArray(1); 10: $a[0] = $b; 11: $b[0] = $a; 12: } 13: 14: dummy(); 15: var_dump(gc_collect_cycles()); 16: ?> 17: --EXPECT-- 18: int(2)