Re: New destructors implementation
| From: | Andi Gutmans | Date: | Tue, 10 Feb 2004 10:29:16 +0000 |
| Subject: | Re: New destructors implementation | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7693@lists.php.net to get a copy of this message | ||
At 10:49 AM 2/10/2004 +0100, Eric Daspet wrote:
Andi Gutmans wrote:Eric, Yes it can be worse, and all of the reasons have been mentioned. I'm not sure you quite realize the way the shutdown in PHP works and the consequences keeping any kind of order (if that is definable) has. I am sticking to the current implementation because I think it is the best trade-off. AndiAt 03:55 PM 2/9/2004 +0000, Stephane Drouard wrote:IMO, this is bad programming. If an object wants to access another object (global or not), it has to own a reference on itYou are getting into coding style now.It is coding style, you are right. However, order of destructors cannot be worse that "in random order", can them ?