PHP·98 questionsHow to work with arrays?SaveUpdated: 2026-08-31Answer•Indexed: [1, 2, 3].•Associative: ['key' => 'value'].•Multidimensional: array of arrays.•Functions: count(), array_push(), array_merge().•Sorting: sort(), asort(), ksort().Ask AI to clarifyWas this answer helpful?HelpfulNot helpfulSuggest an improvement