Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10205 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5641 invoked by uid 1010); 1 Jun 2004 14:03:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5537 invoked from network); 1 Jun 2004 14:03:03 -0000 Received: from unknown (HELO fmail1.hs-bremen.de) (194.94.24.14) by pb1.pair.com with SMTP; 1 Jun 2004 14:03:03 -0000 Received: from localhost (fmail1 [127.0.0.1]) by fmail1.hs-bremen.de (Postfix) with ESMTP id B5AB832E8F for ; Tue, 1 Jun 2004 16:03:09 +0200 (CEST) Received: from fmail1.hs-bremen.de ([127.0.0.1]) by localhost (fmail1 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25754-04 for ; Tue, 1 Jun 2004 16:03:09 +0200 (CEST) Received: from mail.hs-bremen.de (mail.hs-bremen.de [194.94.24.31]) by fmail1.hs-bremen.de (Postfix) with ESMTP id 2BA7D330DD for ; Tue, 1 Jun 2004 16:03:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.hs-bremen.de (Postfix) with ESMTP id 3497474001 for ; Tue, 1 Jun 2004 16:03:02 +0200 (CEST) Received: from mail.hs-bremen.de ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32371-03 for ; Tue, 1 Jun 2004 16:03:01 +0200 (CEST) Received: from silverbox (wlan-14.hs-bremen.de [172.25.128.14]) by mail.hs-bremen.de (Postfix) with SMTP id A38FA52410F for ; Tue, 1 Jun 2004 16:03:01 +0200 (CEST) Message-ID: <00ac01c447e1$19d91f90$384219ac@silverbox> To: Date: Tue, 1 Jun 2004 16:02:39 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00A9_01C447F1.DD3BA2E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Scanned: by amavisd-new at mail.hs-bremen.de X-Virus-Scanned: by amavisd-new at fmail1.hs-bremen.de Subject: Problem in Order of PHP Shutdown From: fschaper@intux.org ("Florian Schaper") ------=_NextPart_000_00A9_01C447F1.DD3BA2E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit There is a problem in the order the destructors of objects are destroyed at PHP shutdown. Let's say in an destructor the objects tries to save some states in a session variable that would currently fail since destructors are called after modules are freed. Sample & patch included. ./regards Florian Schaper ------=_NextPart_000_00A9_01C447F1.DD3BA2E0--