Re: api question
| From: | Zeev Suraski | Date: | Wed, 02 May 2001 23:01:23 +0000 |
| Subject: | Re: api question | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-53486@lists.php.net to get a copy of this message | ||
That's because of an internal small-scale garbage collection mechanism in Zend. Objects may not be freed as soon as they're no longer linked, but may be freed shortly afterwards.
Zeev
At 01:16 3/5/2001, Harald Radi wrote:
when i register a destructor with zend_register_list_destructors_ex(), why is the registered function only called at the end of the script and never during processing when i do something like unset($my_obj); or $my_obj=null;. isn't it supposed to be called during execution ? harald -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/