PHP·98 questions

How to work with arrays?

Answer
Indexed: [1, 2, 3].
Associative: ['key' => 'value'].
Multidimensional: array of arrays.
Functions: count(), array_push(), array_merge().
Sorting: sort(), asort(), ksort().
Was this answer helpful?

More questions in this topic

Related questions from other topics