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
<?php
$animals = array ("Cat", "Dog", array ("Tiger", "Alligator"), "Mouse");
echo (count($animals, 1));
?>
You must be Logged in to update hint/solution