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

Paul Jones' Blog: Memory Leaks With Objects in PHP 5

Matt Frost: Agent of Change: Part 1 Preparation

Bard Farstad's Blog: Optimizing PHP for Intel based Mac

Giorgio Sironi's Blog: The dangers of Late Static Bindings

Greg Beaver's Blog: multiple __HALT_COMPILER(); no longer raises notices PHP 5.2.2+


Community Events

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


opinion security framework threedevsandamaybe series api interview community symfony version podcast laravel5 release introduction library extension unittest voicesoftheelephpant laravel language

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