On Wed, January 30, 2008 6:19 pm, Chris wrote:
>
>> I dunno about the OOP instances getting GC'ed, but PHP *definitely*
>> reclaims memory from arrays and strings as they go out of scope,
>> usually.
>
> Does anyone else find that funny? :)
>
> It definitely does it ... usually ;)

Ah well.

It definitely does it when it can, but you can confuse it with enough
circular references and large enough data structures that it ends up
with a giant mess of data it can't GC, because it's just not THAT
smart.

There are improvements coming in this area, I think, in PHP 6, if I
remember the posts to internals correctly.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to