Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2315 invoked from network); 2 Jan 2009 14:53:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jan 2009 14:53:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:56699] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/3B-06663-A5A2E594 for ; Fri, 02 Jan 2009 09:53:15 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 82468414400F; Fri, 2 Jan 2009 14:54:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qkBEtlHTVSP1; Fri, 2 Jan 2009 15:54:04 +0100 (CET) Received: from [192.168.0.182] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id CF52B414400B; Fri, 2 Jan 2009 15:54:03 +0100 (CET) To: Marcus Boerger In-Reply-To: <1715852784.20090102152003@marcus-boerger.de> X-Priority: 3 (Normal) References: <01d401c8fe5e$6bc9d730$16b2a8c0@kartofel> <7EB12BC1-41F1-458C-8017-9AB4D910CAA5@pooteeweet.org> <48EFC1E8.5030702@zend.com> <5D4A905B-E361-409B-BD9E-E816482EDB8C@pooteeweet.org> <4D165E1668394935B126876B72D487CF@carla> <641f88250812311636l7fc8b29x34d4250763cdb903@mail.gmail.com> <49801FDC-2DFD-4A38-AC87-7AE9CBF893B9@pooteeweet.org> <1589625320.20090101145631@marcus-boerger.de> <1715852784.20090102152003@marcus-boerger.de> Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 2 Jan 2009 15:53:09 +0100 Cc: Pierre Joye , "George Antoniadis" , "Timm Friebe" , "Stanislav Malyshev" , , =?ISO-8859-1?Q?=22\Johannes_Schl=FCter=22?= X-Mailer: Apple Mail (2.930.3) Subject: Re: [PHP-DEV] __getStatic From: mls@pooteeweet.org (Lukas Kahwe Smith) On 02.01.2009, at 15:20, Marcus Boerger wrote: > There are two things here. One is the __getStatic which I do not care > for personally but which has the potential of requiring c level api > changes. The other is 'static class' as in the patch provided by Lars. > That looks pretty good to me and from what I can tell Lars addressed > all of the issues raised by Stas (a lot were referring to __getStatic > anyway). > http://lars.schokokeks.org/php/static-classes-002.diff > Since this one would imo bring a nice addition in regards to handling > consts as a better choice than defines I'd like to see it in. Also > only this one seems ready. The __getStatic() indeed seems much more > complicated as outlined by Stas in detail. Ok, I guess I totally missed the "static class" patch. @Lars: Could you open a new thread and start a discussion about that patch there? > >> In this light the dl() change by Marcus (AFAIK this was planned and >> done for 6.0 and not 5.3) and the windows PCRE change by Andi seem >> potential candidates for regressions, issues and maybe should have >> been discussed beforehand. Just using these two has an example since >> they are the two last commits I marked as potential issues. > > Postponing changes that prevent SEGVs for the sake of versioning and > that cannot easily be done later because they require c level api > changes is a no go for me. Well we for some reason scheduled the change for dl() PHP 6.0 ("enable dl() only when a SAPI layer registers it explicitly"). I do not remember why we did not schedule it for the next PHP release (maybe we just thought PH 6.0 would be the next release) or if we did not want to make this change in 5.x. I just noted it as a commit that probably should have been mentioned on the list before being committed. regards, Lukas Kahwe Smith mls@pooteeweet.org