Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
abarrett
on July 24, 2011
|
parent
|
context
|
favorite
| on:
Short array syntax finally in PHP 5.4
In addition, you only need to specify the first key to create a one-based array. Indexing will carry on from there.
[1 => [4, 5, 6], [7, 8, 9], [10, 11, 12]]
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: