PHP Arrays Which function returns an array consisting of associative key/value pairs? array_count_values() count_values() count() array_count() array_count_values() count_values() count() array_count() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$state = array ("Karnataka", "Goa", "Tamil Nadu", "Andhra Pradesh");echo (array_search ("Tamil Nadu", $state) ); 2 True 1 False 2 True 1 False ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$array1 = array ("KA", "LA", "CA", "MA", "TA");$array2 = array ("KA", "IA", "CA", "GA", "TA");$inter = array_intersect ($array1, $array2);print_r ($inter); Array ( [1] => IA [3] => GA ) Array ( [1] => LA [3] => MA ) Array ( [0] => KA [1] => LA [2] => CA [3] => MA [4] => TA [5] => IA [6] => GA ) Array ( [0] => KA [2] => CA [4] => TA ) Array ( [1] => IA [3] => GA ) Array ( [1] => LA [3] => MA ) Array ( [0] => KA [1] => LA [2] => CA [3] => MA [4] => TA [5] => IA [6] => GA ) Array ( [0] => KA [2] => CA [4] => TA ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What functions count elements in an array?1. count2. Sizeof3. Array_Count4. Count_array Option 1 and 4 Option 1 and 2 Option 3 and 4 Option 2 and 4 Option 1 and 4 Option 1 and 2 Option 3 and 4 Option 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$a = array(12, 5, 2);echo(array_product($a)); 010 120 060 024 010 120 060 024 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "orange", "banana");echo (next($fruits));echo (next($fruits)); orangeorange orangebanana appleorange appleapple orangeorange orangebanana appleorange appleapple ANSWER DOWNLOAD EXAMIANS APP