php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch test1.phpt for Performance problem Bug #60139Patch version 2011-10-28 14:23 UTC Return to Bug #60139 | Download this patchPatch Revisions: Developer: arnaud.lb@gmail.com--TEST-- Closure and GC - 1 (bug #60139) --FILE-- <?php class c { public $foo; public function __construct() { $this->foo = function() {}; } public function __destruct() { echo "destruct\n"; } } new c; gc_collect_cycles(); echo "end\n"; --EXPECT-- destruct end |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Sun Oct 06 22:01:26 2024 UTC |