PHP Array Function
The array function creates a new array in PHP. We can create the following types of arrays using this function. Indexed arrays – Simple arrays consisting of indexes in a sequence. Associative arrays – Arrays having keys and corresponding values. Multidimensional Arrays – Arrays having one or more arrays within it. Syntax Syntax of PHP …