Programming Languages PHP Objective
Mar 15, 2013

<?php

 $x=array(4,2,5,1,4,5,3,4); 

 $y=array_count_values($x); 

 echo count($y); 

 ?>

Find the Output?

Choose the correct answer:
A) 8
B) 5
C) 7
D) 28
Detailed Explanation

Option B is the right answer.

Discussion (0)

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

Share Your Thoughts
Feedback