Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/Zend/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/Zend/tests/bug69446.phpt |
--TEST-- Bug #69446 (GC leak relating to removal of nested data after dtors run) --FILE-- <?php $bar = NULL; class bad { public function __destruct() { global $bar; $bar = $this; $bar->y = new stdClass; } } $foo = new stdClass; $foo->foo = $foo; $foo->bad = new bad; $foo->bad->x = new stdClass; unset($foo); gc_collect_cycles(); var_dump($bar); --EXPECT-- object(bad)#2 (2) { ["x"]=> object(stdClass)#3 (0) { } ["y"]=> object(stdClass)#4 (0) { } }
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare