News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Mike Lively's Blog:
Late Static Binding - Changes to parent
November 26, 2007 @ 09:37:00

Mike Lively has shared some of his thoughts on the late static binding functionality that will be in the upcoming PHP 5.3 - specifically the relationships of parents and children it has.

I won't rehash all of the arguments as you can quite easily find out my full thoughts by previous posts and on that mailing list thread. To put it simply I feel that somehow there needs to be a way to call methods in a parent class without losing the ability to reference back to the original called static.

He gives an example of what he's talking about (code) and, to help further his cause he's created three patches to make it work how he'd like.

0 comments voice your opinion now!
latestaticbinding parent change child patch latestaticbinding parent change child patch


blog comments powered by Disqus

Similar Posts

Gergely Hodicska's Blog: What's new in PHP 5.3 - part 1: namespaces

Hannes Magnusson's Blog: PHP.net frontpage changes

Community News: Namespaces in PHP6

Sara Golemon's Blog: Fun with unicode

Ilia Alshanetsky's Blog: Type hinting for PHP 5.3


Community Events

Don't see your event here?
Let us know!


voicesoftheelephpant unittest language api introduction list php7 release community interview version podcast framework wordpress library opinion series laravel5 laravel extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework