Sail E0 Webinar
Question
What will be the output of the following PHP code?$a = array("A", "Cat", "Dog", "A", "Dog");print_r(array_count_values($a));
Options:
A .  Array ( [A] => 2 [Cat] => 2 [Dog] => 1 )
B .  Array ( [A] => 2 [Cat] => 1 [Dog] => 1)
C .  Array ( [A] => 2 [Cat] => 1 [Dog] => 2 )
D .  Array ( [A] => 1 [Cat] => 1 [Dog] => 2 )
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers