Tim’s Weblog Tim's Weblog
Tim Strehle’s links and thoughts on Web apps, managing software development and Digital Asset Management, since 2002.

New features in PHP5.4 alpha1

Gonzalo Ayuso – New features in PHP5.4 alpha1:

"Added array dereferencing support:


$a = new A();
echo $a->foo()['name'];

(Via entwickler.com.)

Update: Playing with the new PHP5.4 features by the same author.

Wed, 06 Jul 2011 08:51:29 +0000