Question:What is the output?
<?php
$array = array(10,20,10,30,20,40,20,40);
$a =array_count_values($array);
print_r($a);
?>
 

A Array ( [2] => 10 [3] => 20 [1] => 30 [2] => 40 ) 

B Array ( [0] => 10 [1] => 20 [2] => 10 [3] => 30[4] => 20[5] => 40[6] => 20[7] => 40) 

C Array ( [10] => 2 [20] => 3 [30] => 1 [40] => 2 ) 

D None 

+ Answer
+ Report
Total Preview: 855

Copyright © 2024. Powered by Intellect Software Ltd