How can I create a multidimensional array in PHP? Example code: - Biz Tech

How can I create a multidimensional array in PHP? Example code:

Listen
$fruits = array(
    array("apple", 2),
    array("banana", 3),
    array("orange", 4)
);

// Loop through each item in the array
foreach ($fruits as $fruit) {
    echo $fruit[0] . " - " . $fruit[1] . "<br>";
}