How can you declare the array(all type) in PHP? Explain with example
Example: What types of Array in php
In PHP, there are three types of arrays:
Indexed arrays - Arrays with a numeric index.
Associative arrays - Arrays with named keys.
Multidimensional arrays - Arrays containing one or more arrays.