Programming Languages PHP Objective
Mar 15, 2013

What will be the output of below code: <?php $x=array(1,3,2,3,7,8,9,7,3); $y=array_count_values($x); echo $y[8]; ?>

Choose the correct answer:
A) 43
B) 1
C) 6
D) 8
Detailed Explanation

Option B is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback