|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-20 11:12 UTC] moriyoshi@php.net
[2003-01-20 11:38 UTC] peter dot karl dot mueller at gmx dot de
[2003-01-21 06:03 UTC] peter dot karl dot mueller at gmx dot de
[2003-01-21 07:26 UTC] moriyoshi@php.net
[2003-01-21 08:26 UTC] iliaa@php.net
[2003-01-21 09:36 UTC] moriyoshi@php.net
[2003-02-04 16:51 UTC] sniper@php.net
[2003-02-06 04:38 UTC] peter dot karl dot mueller at gmx dot de
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 16:00:01 2025 UTC |
The following code: <% class Object { var $prev; var $next; function unter (&$ref) { $ref->prev = &$this; $this->next = &$ref; } }; while (true) { print "NEW ROUND\n"; { $o = &new Object; for ($i = 0; $i < 10000; ++$i) { $o->unter (new Object); $o = &$o->next; } unset ($o); } } %> consumes as much memory it can get. I would expect that PHP garbage-collects the memory.