A Primer for PHP 5.3’s New Language Features

Matthew Weier O’Phinney, a guy in the Zend Framework 2.0 developing team, has published an article called A Primer for PHP 5.3’s New Language Features I’d like to link to:

For the past month, I’ve been immersed in PHP 5.3 as I and my team have started work on Zend Framework 2.0. PHP 5.3 offers a slew of new language features, many of which were developed to assist framework and library developers. Most of the time, these features are straight-forward, and you can simply use them; in other cases, however, we’ve run into behaviors that were unexpected. This post will detail several of these, so you either don’t run into the same issues — or can capitalize on some of our discoveries.

It’s about discoveries and pitfalls of the php 6.0 pre-release known as 5.3 or php 6 minus UTF8: Closures, Anonymous Functions, Lambdas, Invokables and Namespaces. Well written with example code, just a nice read.

Via: Zend.

This entry was posted in Pressed and tagged , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s