Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18710 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9760 invoked by uid 1010); 8 Sep 2005 11:16:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9745 invoked from network); 8 Sep 2005 11:16:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2005 11:16:12 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:40406] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F5/8E-23233-B7D10234 for ; Thu, 08 Sep 2005 07:16:12 -0400 Received: (qmail 15788 invoked from network); 8 Sep 2005 11:16:08 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 8 Sep 2005 11:16:08 -0000 Date: Thu, 8 Sep 2005 14:16:07 +0300 (IDT) X-X-Sender: frodo@shire.zend.office To: internals@lists.php.net In-Reply-To: <43201B61.4070306@emini.dk> Message-ID: References: <5.1.0.14.2.20050904235929.06963d60@localhost> <431D9B9E.6080303@ntlworld.com> <57792e85050906111963cd6303@mail.gmail.com> <6.2.3.4.2.20050907164645.0905ed90@localhost> <43201B61.4070306@emini.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Re: 5.0.5 From: stas@zend.com (Stanislav Malyshev) 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