Hello Andi, Tuesday, February 10, 2004, 11:29:16 AM, you wrote:
> At 10:49 AM 2/10/2004 +0100, Eric Daspet wrote: >>Andi Gutmans wrote: >>>At 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 it >> >>>You 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 ? > 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. From my experience (i did a lot of reasearch on such an ordered shutdown) i must admit that i needed a non chedcked shutdown regardless of the complexity of the algorithm used. What Andi says here is that if we cannot fix it really we shouldn't make all things slow. -- Best regards, Marcus mailto:[EMAIL PROTECTED]