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
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115

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

Reply via email to