Stephane Drouard wrote:
== Quote from Red Wingate ([EMAIL PROTECTED])'s article

Is the removal of a specific order on the __destruct() calls
necessary? It's a pain in the ass the be unable to predict
in which order the __destruct() calls are made.
[..]
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.

Yeah, those both posts address exactly what my original post was referring to.

Cheers,
Michael

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



Reply via email to