Re: [PHP-DEV] api question

2001-05-02 Thread Zeev Suraski
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(),

[PHP-DEV] api question

2001-05-02 Thread Harald Radi
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 Deve