On Fri, 2004-02-06 at 06:01, Stephane Drouard wrote:
> Couldn't PHP implement global object destruction that way:
>  * firstly try to destroyed them in the same way as for local
> variables (respecting dependences),
>  * for objects that were not destroyed in the first step (certainly
> circular references), destroy them as currently implemented (no
> dependence check). A notice could also be displayed.

+1 I think this is an excellent idea.  Otherwise destructors have
limited use.  What is the plan for handling static variables in
classes?  Will a separate call be made to the destructor to handle these
outside of any instance?

-- 
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/

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

Reply via email to