A
Q. What is the result of the following PHP code?
Code:
<?php
$animals = array ("Cat", "Dog", array ("Tiger", "Alligator"), "Mouse");
echo (count($animals, 1));
?>
$animals = array ("Cat", "Dog", array ("Tiger", "Alligator"), "Mouse");
echo (count($animals, 1));
?>
- Correct Answer - Option(C)
- Views: 15
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.