News for hackers. Stuff that matters.
Re:Short array syntax finally in PHP 5.4 by nyordanov on Sunday July 24, 2011 @05:35PM (#2800403)
Right, but wouldn't that make PHP code too good looking? The core devs wouldn't allow it ;)

My only wish is that they implement something that evaluates {} to (object)array(). It would come in handy when used with anonymous functions.

Anyway, I am pleased with the new syntax, but sadly, I have to use 5.2 as most of the time I'm working on WordPress projects...

There are no comments on this comment yet.