Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42445 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97497 invoked from network); 2 Jan 2009 14:23:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jan 2009 14:23:05 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:43629] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/6A-06663-2432E594 for ; Fri, 02 Jan 2009 09:22:59 -0500 Received: from MBOERGER-ZRH.corp.google.com (229-122.107-92.cust.bluewin.ch [92.107.122.229]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 644B911F0AC; Fri, 2 Jan 2009 15:22:54 +0100 (CET) Date: Fri, 2 Jan 2009 15:20:03 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1715852784.20090102152003@marcus-boerger.de> To: Lukas Kahwe Smith CC: Pierre Joye , "Marcus Boerger" , "George Antoniadis" , "Timm Friebe" , "Stanislav Malyshev" , , =?iso-8859-15?Q?=22=5CJohannes_Schl=FCter=22?= In-Reply-To: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] __getStatic From: helly@php.net (Marcus Boerger) Hello Lukas, Friday, January 2, 2009, 2:59:40 PM, you wrote: > On 01.01.2009, at 17:55, Pierre Joye wrote: >> hi! >> >> On Thu, Jan 1, 2009 at 2:56 PM, Marcus Boerger wrote: >>> Hello Lukas, >>> >>> if anything requires an internal API change than we at least should >>> do >>> those parts. Besides this issue was long ago raised and imo should >>> go in. >>> As we get more and more people testing what 5.3 will be we get more >>> and >>> more complains about the lack of these. And isn't that the goal of >>> an alpha >>> verison as well? >> >> Agreed. We should actually do a feature freeze after the 1st beta/RC. >> However, issues like this one should be fixed too after beta/RC, it >> would be bad to introduce new inconsistencies, saw them during the RC >> phase but leave them in only because we are in the RC. >> >> and best wishes for 2k9! :) > @Marcus: Like I said its a question of someone writing the code .. > Timm proposed a patch which Stas thought had issues and then nobody > picked things up .. 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. marcus > @Pierre/all: Well we did announce something like a freeze. Of course > there are still changes going in undiscussed and for the most part > this is ok (and not doing those changes would be a bad idea and > unnecessary to be delayed). However I would really appreciate it if > people would really think about the changes they are doing. Think > twice about changes that can introduce a regression or a lot of work > and ask if the change has any change of being problematic. > 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. > BTW: I was planning on sending out a mail on Monday about beta1. > Johannes and I feel like a release on the 20th or 22nd seems realistic. > regards, > Lukas Kahwe Smith > mls@pooteeweet.org Best regards, Marcus