Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18711 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11427 invoked by uid 1010); 8 Sep 2005 11:20:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11412 invoked from network); 8 Sep 2005 11:20:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2005 11:20:29 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:45012] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 0E/BE-23233-C7E10234 for ; Thu, 08 Sep 2005 07:20:28 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j88BKPbG022374; Thu, 8 Sep 2005 13:20:25 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j88BKMp3022363; Thu, 8 Sep 2005 13:20:22 +0200 Date: Thu, 8 Sep 2005 13:20:21 +0200 (CEST) X-X-Sender: derick@localhost To: Stanislav Malyshev cc: internals@lists.php.net In-Reply-To: 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 X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] Re: 5.0.5 From: derick@php.net (Derick Rethans) On Thu, 8 Sep 2005, Stanislav Malyshev wrote: > 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. But they can still do that.. With "shutdown functions" I meant functions registered with register_shutdown_function(). Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org