Q. What is the result of the following PHP code?
Code:
<?php
$animals = array ("Cat", "Dog", array ("Tiger", "Alligator"), "Mouse");
echo (count($animals, 1));
?>
β
Correct Answer: (C)
6