Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23999 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35890 invoked by uid 1010); 8 Jun 2006 18:21:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 35875 invoked from network); 8 Jun 2006 18:21:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jun 2006 18:21:39 -0000 X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:3975] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id EB/05-00946-2BA68844 for ; Thu, 08 Jun 2006 14:21:38 -0400 Received: from foxbox (IGLD-84-229-192-204.inter.net.il [84.229.192.204]) by gw2.emini.dk (Postfix) with ESMTP id 69293B233D; Thu, 8 Jun 2006 20:21:33 +0200 (CEST) Message-ID: <105301c68b27$e80c8d80$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "Dmitry Stogov" , , "Ilia Alshanetsky" , "Andi Gutmans" References: <000001c68af5$50876930$6e02a8c0@thinkpad> <7.0.1.0.2.20060608110050.0521bb48@zend.com> Date: Thu, 8 Jun 2006 20:18:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PATCH] Automatic module globals management From: steph@zend.com ("Steph Fox") Andi, hi, >I read the whole thread. > I agree with Sara. While I understand where Steph is coming from, I still > think this is a good change. It would allow us to use this method in the > current tree right away, and for PECL authors who want to stay compatible > with older versions they can use the old & ugly way of doing it until they > feel comfortable in changing over. This redesign was presented as a fix for a win32 module API breakage in PHP 5.1.3 that causes shared modules to crash. Adopting the proposed changes now won't help in any way for existing extensions, since everyone's saying 'oh it'll be nice to use it in the future'. It just means we're stuck with the status quo, and of course the odd confused extension author turning up with a strange shutdown crash under win32 that didn't used to happen in PHP 5.1.2. It'd make more sense to apply the patch partially in 5_2 and change the module API number (to address that issue and give extension authors some hope of understanding what's going on), and apply the whole thing in HEAD and bump the API number again. I really think applying it in 5_2 is going to leave extension writers with a headache. - Steph