News Feed
Sections




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

Etienne Kneuss' Blog:
Late Static Bindings Explained
September 07, 2007 @ 14:26:00

Etienne Kneuss has a new article posted about and introducing a feature that will be implemented in PHP6 - late static bindings.

Late Static Binding (LSB, yes, not LSD) is an OO feature that is meant to be implemented in PHP 6, and maybe even backported to PHP 5. This article will describe what LSB is, what problems it's supposed to solve and how. The patch this article talks about can be found here: late_static_bindings_take6.patch

Etienne explains what they are and includes several code examples to show how they'll work. There's also a mention of "edge cases" where special circumstances might cause the script to fall back on the "magic" functions (__get, __post, etc).

0 comments voice your opinion now!
late static binding php6 explain introduction example late static binding php6 explain introduction example


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Building a Web App With Symfony 2: Development

Allan MacGregor: Design Patterns in PHP: Using Factories

ServerGrove Blog: Symfony2 components overview: ExpressionLanguage

PHP Thinktank Blog: PHP-GTK with scottmattocks (IRC Talk Series)

Mike Lively's Blog: Late Static Binding (LSB) forward_static_call()


Community Events





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


podcast introduction opinion api install community zendserver release language interview series package bugfix laravel library unittest symfony framework voicesoftheelephpant deployment

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