cool, Im going to look more into the engine to see the working.
I suppose PHP it isn't as memory intensive as JAVA

Quick question, does the zend engine have a garbage collector
while we are on the topic?

"Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jakes wrote:
> > You calling it from the base so cleaning you be easier than
> > looking for object referenced variables and setting them to null.
> > Working in a large class hierarchy it could get painful.
>
> __destruct()
>
> and as far as object references in variables are concerned:
> the engine destructs all instance member variables when an
> object is destructed, so the reference counts of the
> referenced objects are already deceremented
> no need to free them by hand (this is even true for PHP 4)
>
> you only have to take care of cleanup yourself when you
> have circular refence graphs ...
>
> -- 
> Hartmut Holzgraefe  <[EMAIL PROTECTED]>

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to