PHP Arrays Which function returns an array consisting of associative key/value pairs? array_count_values() array_count() count_values() count() array_count_values() array_count() count_values() count() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fname = array("Peter", "Ben", "Joe");$age = array("35", "37", "43");$c = array_combine($age, $fname);print_r($c); Array ( Peter Ben Joe ) Array ( 35 37 43 ) Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 ) Array ( [35] => Peter [37] => Ben [43] => Joe ) Array ( Peter Ben Joe ) Array ( 35 37 43 ) Array ( [Peter] => 35 [Ben] => 37 [Joe] => 43 ) Array ( [35] => Peter [37] => Ben [43] => Joe ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$place = array("NYC", "LA", "Paris");array_pop($place);$place1 = array("Paris");$place = array_merge($place, $place1);print_r($place); Array ( [0] => LA [1] => Paris [2] => Paris ) Array ( [0] => NYC [1] => LA [2] => Paris) Array ( [0] => NYC [1] => LA [2] => Paris [3] => Paris ) None of the mentioned Array ( [0] => LA [1] => Paris [2] => Paris ) Array ( [0] => NYC [1] => LA [2] => Paris) Array ( [0] => NYC [1] => LA [2] => Paris [3] => Paris ) None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "orange", array ("pear", "mango"), "banana");echo (count($fruits, 1)); 5 3 6 4 5 3 6 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$a = array("a" => "Jaguar", "b" => "Land Rover", "c" => "Audi", "d" => "Maseratti");echo array_search("Audi", $a); d b c a d b c a 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 ( [0] => KA [2] => CA [4] => TA ) Array ( [0] => KA [1] => LA [2] => CA [3] => MA [4] => TA [5] => IA [6] => GA ) Array ( [1] => LA [3] => MA ) Array ( [1] => IA [3] => GA ) Array ( [0] => KA [2] => CA [4] => TA ) Array ( [0] => KA [1] => LA [2] => CA [3] => MA [4] => TA [5] => IA [6] => GA ) Array ( [1] => LA [3] => MA ) ANSWER DOWNLOAD EXAMIANS APP