Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19140 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95261 invoked by uid 1010); 23 Sep 2005 07:19:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95245 invoked from network); 23 Sep 2005 07:19:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2005 07:19:48 -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:43274] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1F/C3-24510-19CA3334 for ; Fri, 23 Sep 2005 03:19:46 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j8N7JeU1025604; Fri, 23 Sep 2005 09:19:40 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j8N7JZ7E025594; Fri, 23 Sep 2005 09:19:35 +0200 Date: Fri, 23 Sep 2005 09:19:35 +0200 (CEST) X-X-Sender: derick@localhost To: Wez Furlong cc: internals In-Reply-To: <4e89b426050922192768c6764e@mail.gmail.com> Message-ID: References: <4e89b426050922192768c6764e@mail.gmail.com> 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] shutdown order changed again? broken dl()'d modules, again From: derick@php.net (Derick Rethans) On Thu, 22 Sep 2005, Wez Furlong wrote: > Sounds like we're unloading the modules before calling the dtors again. The code says this: /* 1. Call all possible shutdown functions registered with register_shutdown_function() */ /* 2. Call all possible __destruct() functions */ zend_try { zend_call_destructors(TSRMLS_C); } zend_end_try(); /* 3. Flush all output buffers */ /* 4. Send the set HTTP headers (note: This must be done AFTER /* 5. Call all extensions RSHUTDOWN functions */ if (PG(modules_activated)) { zend_deactivate_modules(TSRMLS_C); php_free_shutdown_functions(TSRMLS_C); } So your statement seems incorrect, not sure what is breaking though... regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org