Re: Re: 5.0.5

From: Date: Thu, 08 Sep 2005 11:16:07 +0000
Subject: Re: Re: 5.0.5
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-18710@lists.php.net to get a copy of this message
EK>>> But we have that, just no extensions are using it... What I do think Well, I guess they'd better start to use then :) EK>>> that we need to do is to call the shutdown handlers before the dtors, EK>>> now we do it the "wrong" way around making things less flexible. And, I don't see how having two stages "before dtors" and "after dtors" is less flexible than having only one of them. EK>>I do belive that we should have kept BC here and allow use of objects EK>>in shutdown functions, ie. call them before calling object EK>>destructors. We have classical c&e problem here - if we defer dtors to after shutdowns, they couldn't do things like close files, finalize DB connections, etc. Many people think dtors are meant to do that. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.internals (#18710) next »