Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42430 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54716 invoked from network); 1 Jan 2009 00:36:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jan 2009 00:36:46 -0000 Authentication-Results: pb1.pair.com header.from=george@noodles.gr; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=antoniadis@noodles.gr; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain noodles.gr from 74.125.44.30 cause and error) X-PHP-List-Original-Sender: antoniadis@noodles.gr X-Host-Fingerprint: 74.125.44.30 yx-out-2324.google.com Received: from [74.125.44.30] ([74.125.44.30:54182] helo=yx-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/FC-01584-D101C594 for ; Wed, 31 Dec 2008 19:36:45 -0500 Received: by yx-out-2324.google.com with SMTP id 3so2854761yxj.83 for ; Wed, 31 Dec 2008 16:36:42 -0800 (PST) Received: by 10.151.99.3 with SMTP id b3mr31341763ybm.167.1230770202415; Wed, 31 Dec 2008 16:36:42 -0800 (PST) Received: by 10.151.138.6 with HTTP; Wed, 31 Dec 2008 16:36:42 -0800 (PST) Message-ID: <641f88250812311636l7fc8b29x34d4250763cdb903@mail.gmail.com> Date: Thu, 1 Jan 2009 02:36:42 +0200 To: "Timm Friebe" Cc: "Lukas Kahwe Smith" , "Stanislav Malyshev" , "Marcus Boerger" , internals@lists.php.net, "=?UTF-8?Q?Johannes_Schl=C3=BCter?=" In-Reply-To: <4D165E1668394935B126876B72D487CF@carla> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_184352_31319300.1230770202397" References: <01d401c8fe5e$6bc9d730$16b2a8c0@kartofel> <022101c8fe5f$4a3e3c40$16b2a8c0@kartofel> <1901158190.20080815120657@marcus-boerger.de> <7EB12BC1-41F1-458C-8017-9AB4D910CAA5@pooteeweet.org> <48EFC1E8.5030702@zend.com> <5D4A905B-E361-409B-BD9E-E816482EDB8C@pooteeweet.org> <4D165E1668394935B126876B72D487CF@carla> Subject: Re: [PHP-DEV] __getStatic From: george@noodles.gr ("George Antoniadis") ------=_Part_184352_31319300.1230770202397 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sun, Oct 19, 2008 at 3:01 PM, Timm Friebe wrote: > Hi, > First of all, thanks for reviewing and the feedback. I knew this wasn't > perfect, and tried to understand what was previously done for __get and > __set and transport that to the static counterparts. Unfortunately not all > "infrastructure" like the std_*_property_handler callbacks is in place for > static properties so this had to be created, too. > > Lukas writes: > >> hmm .. i also emailed Timm a few weeks ago and got no reaction. the >> question now is .. does someone else care enough to work through the issues >> Stas has noted to get things in shape to be committed? >> > > I've been quite busy with personell and budget planning at our company and > have thus had neither time yet to shift through my private e-mail nor to do > any programming, be it for private projects or for PHP. I was hoping someone > else might pick up on this patch and try to complete it, it's been asked for > a couple of times in different forums / newsgroups / this list (a Google > search reveals these). On the other hand, there's only one really good > use-case that pops to my mind for __getStatic(), and maybe the "type-safe > object properties" pattern Sebastian (Bergmann) had in his blog may be > another one, but nothing people would care enough for (especially once > compared to the feelings around namespaces), so that's probably why this > hasn't happened!:-) > > Stas writes: > >> This patch is definitely not ready, so I'd wait with it unless we get >> really good one very-very soon. >> > > I guess very-very soon is already over, and yes, absolutely, this patch is > far from perfection, so I'd also delay it. Maybe someone (Lars from > http://wiki.php.net/rfc/static-classes?) might also want to gather some > motivation for the __*Static() methods as in good use cases... > > - Timm > Any news on this? :) I don't see this in 5.3 but are there any hopes for pushing this on the HEAD of 6 sometime soon? :) ------=_Part_184352_31319300.1230770202397--