Friday, March 2, 2012

php 5.4.0: shortened array syntax

I like node.js because javascript syntax kicks more ass than php5 when it comes to elegancy of code. php has a nice hack for pushing an array that javascript hasn't but imho javascript has a better syntax for array declaration compared to php . But, starting from 5.4.0, you can now write in php or cool stuff like . sweet.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.