4 ms·
A lot of this boils down to PHP's feeble "array" declarator. Take a page from JavaScript and make it easy.
by astrodust 14y ago
A lot of this boils down to PHP's feeble "array" declarator. Take a page from JavaScript and make it easy.
- mark_story 14y agoAs of PHP 5.4 you can use [] to define arrays. It saves some typing, and is less noisy on the eyes I guess.
- astrodust 14y agoThat's exactly the way it should be. Hopefully this will become the standard before long.