How many types of array are there in PHP?

Asked: Apr 15, 2023

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.
Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!