Steph wrote:
> Hi Stas,
> 
>> By pure coincidence, I was doing a bunch of javascript work lately
>> too, and I find [] syntax OK. From readability POV it's not much
>> difference, but much less clutter if you have really massive data
>> array - no array() things which take half of the space.
> 
> Fine, but in javascript there is only one option. That's the difference.
> 
> - Steph

a = Array(1,2,3)
a = [1,2,3]

It's the same as in php ...

Regards, Stefan

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to