0 votes
in PHP by
How many types of array are there in PHP?

1 Answer

0 votes
by

There are three types of array in PHP:

Indexed array: an array with a numeric key.

Associative array: an array where each key has its specific value.

Multidimensional array: an array containing one or more arrays within itself.

Related questions

+1 vote
asked May 13, 2022 in PHP by john ganales
0 votes
asked Jun 6, 2020 in PHP by Robindeniel
...