PHP Arrays What will be the output of the following PHP code?$a1 = array("a" => "red", "b" => "green", "c" => "blue", "d" => "yellow");$a2 = array("e" => "red", "f" => "green", "g" => "blue", "h" => "orange");$a3 = array("i" => "orange");$a4 = array_combine($a2, $a3);$result = array_diff($a4, $a2);print_r($result); Array ( [d] => yellow ) Array ( [d] => yellow [h] => orange ) Array ( [h] => orange ) Array ( [i] => orange ) Array ( [d] => yellow ) Array ( [d] => yellow [h] => orange ) Array ( [h] => orange ) Array ( [i] => orange ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which in-built function will add a value to the end of an array? array_unshift() inend_array() array_push() into_array() array_unshift() inend_array() array_push() into_array() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays PHP’s numerically indexed array begin with position ______. -1 1 0 2 -1 1 0 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function returns an array consisting of associative key/value pairs? array_count_values() count() array_count() count_values() array_count_values() count() array_count() count_values() 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("a"=>"red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a); blue none of the mentioned red green blue none of the mentioned red green ANSWER DOWNLOAD EXAMIANS APP