PHP5.4 it’s close and it’s time to start playing with the new cool features. I’ve created a new Virtual Machine to play with the new features available within PHP5.4. I wrote a post with the most exciting features (at least for me) when I saw the feature list in the alpha version. Now the Release Candidate is with us, so it’s the time of start playing with them. I also discover really cool features that I pass over in my first review.

Code snippets are included for each example for:

Class member access on instantiation

Short array syntax

Support for Class::{expr}() syntax

Indirect method call through array

Callable typehint

Traits

Array dereferencing support

He points to this other post for a complete list of what's been added in 5.4.