Q. What will be the output of the following PHP program?
Code:
<?php
$fruits = array ("apple", "orange", array ("pear", "mango"),"banana");
echo (count($fruits, 1));
?>
β
Correct Answer: (A)
6