Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23992 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97637 invoked by uid 1010); 8 Jun 2006 16:44:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97622 invoked from network); 8 Jun 2006 16:44:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jun 2006 16:44:03 -0000 X-PHP-List-Original-Sender: pollita@php.net X-Host-Fingerprint: 65.111.164.201 danica.alphaweb.net Linux 2.4/2.6 Received: from ([65.111.164.201:44522] helo=danica.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id FD/31-00946-2D358844 for ; Thu, 08 Jun 2006 12:44:03 -0400 Received: from talos.alphaweb.net ([69.12.155.129] helo=OHRLVN4523SG) by danica.alphaweb.net with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.50) id 1FoNbU-00013v-8e; Thu, 08 Jun 2006 12:43:28 -0400 Message-ID: <006201c68b1a$b9338610$88051fac@OHRLVN4523SG> To: "Steph Fox" , "\"Dmitry Stogov\"" Cc: "Ilia Alshanetsky" , "Andi Gutmans" , References: <000001c68af5$50876930$6e02a8c0@thinkpad> <003f01c68b13$4f9ce680$88051fac@OHRLVN4523SG> <0fd201c68b16$2134af00$6602a8c0@foxbox> Date: Thu, 8 Jun 2006 09:43:47 -0700 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.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Subject: Re: [PATCH] Automatic module globals management From: pollita@php.net ("Sara Golemon") > Yes, I know. But altered modules won't be able to use older versions of > PHP readily, and that's going to be a real problem in PECL - especially if > this goes into 5_2 branch. > For the modules which are part of the core distribution this is a non-issue as they're branched. For PECL modules this is the same "how old of a PHP version am I (as the package maintainer) willing to support?". That package maintainer can: (A) Not use the new API, (B) Wrap up some #ifdef's, or (C) Use the new API exclusively and eschew pre-5.2. Personally, I'm not going to actually use the GINIT/GSHUTDOWN methods in extensions like runkit (probably ever) as they're enough of a problem maintaining PHP 4.0 compatability as it is. For exts that already require 5.0+, I probably will fold in the use of these after 6.0's release (at which point 5.2 will be established and in {relatively} wide use). Allowing the engine to exprt this functionality doesn't automatically break anything, but when modules *do* switch to the new API, having support for it going back to 5.2 will be *better* than only having the support go back to 6.0. -Sara