News for hackers. Stuff that matters.
Re:Short array syntax finally in PHP 5.4 by Zachhack on Sunday July 24, 2011 @11:52AM (#2799602)
I for one would love to see these replaced or complemented by a more OO syntax like:

[1,2,3]->push(..) [3,5,6,]->pop(..) [7,8,9]->map(..)

etc..

Re:Short array syntax finally in PHP 5.4 by jonathanyc on Sunday July 24, 2011 @06:14PM (#2800491)
(Un)fortunately, depending on how you look at it, "everything is an object" is left out in PHP. I personally agree with having some non-object values (use one of the Spl* classes if you want something like that).