Home  |  Linux  | Mysql  | PHP  | XML
From:Ryan Panning Date:Thu Aug 14 21:45:20 2008
Subject:Re: __getStatic
Nathan Nobbe wrote:
> On Thu, Aug 14, 2008 at 4:44 PM, Timm Friebe <thekid@thekid.de> wrote:
> 
>> Hi again,
>>
>>  Attached you'll find an incomplete patch against PHP_5_3 to add this
>>> functionality. If you like it let me know and I can finish it.
>>>
>> Darn, seems the list didn't like my text/plain attachment. Well, here we
>> go:
>>
>>  http://sitten-polizei.de/php/get-static.diff
> 
> 
> i think this is a great idea and a natural candidate for addition.
> 
> -nathan
> 

I would also like to see this in 5.3. Unfortunately this feature is 
apart of a RFC that did not make it in 5.3. It is goofy that 
__callStatic() got in without the other __*Static()'s. I think it made 
it in before this RFC was created.

http://wiki.php.net/rfc/static-classes#class_model_rules

It would be great if all the __*Static()'s could make it in 5.3 but I 
highly doubt that it will.
Navigate in group php.internals at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants