3 ms·
They are introducing shorthand notation for arrays in PHP 5.4 using the [] syntax. For whatever crazy reason using {} notation hasnt been implemented for object
by jamesmoss 15y ago
They are introducing shorthand notation for arrays in PHP 5.4 using the [] syntax. For whatever crazy reason using {} notation hasnt been implemented for objects. I really wonder what the phpinternals team are doing sometimes.
- DanHulton 15y agoIt took long enough just to get them to adopt [].