Declare a 2D List in PHP
1. The Numeric Array: The array with a numeric index.
$input = array(10,20,30,40,50);
2. The Associative Array: The array with string or number index. The elements of this array are stored in the form of a key-value pair.
$input = array(0 =>Emma, 1=>Alice, 2=>’John’);