Re: New destructors implementation
| From: | Michael Walter | Date: | Fri, 06 Feb 2004 12:07:31 +0000 |
| Subject: | Re: New destructors implementation | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7624@lists.php.net to get a copy of this message | ||
Stephane Drouard wrote:
== Quote from Red Wingate (redeye@erisx.de)'s articleCheers, MichaelIs 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.