PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "orange", array ("pear", "mango"), "banana");echo (count($fruits, 1)); 3 5 6 4 3 5 6 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What function computes the difference of arrays? array_diff diff_array arrays_diff diff_arrays array_diff diff_array arrays_diff diff_arrays ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$cars = array("Volvo", "BMW", "Toyota");echo "I like " . $cars[2] . ", " . $cars[1] . " and " . $cars[0] . "."; I like Toyota, BMW and Volvo I like Volvo, BMW and Toyota I like BMW, Volvo and Toyota I like Volvo, Toyota and BMW I like Toyota, BMW and Volvo I like Volvo, BMW and Toyota I like BMW, Volvo and Toyota I like Volvo, Toyota and BMW ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fruits = array ("mango", "apple", "pear", "peach");$fruits = array_flip($fruits);echo ($fruits[0]); mango 0 error peach mango 0 error peach 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)); 024 060 010 120 024 060 010 120 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code ?$array = array("red", "green");array_push($array, "blue", "yellow");print_r($array); Array ( [0] => blue [1] => yellow [2] => red [3] => green ) Array ( [0] => red [1] => green [2] => blue [3] => yellow ) Array ( [0] => blue [1] => yellow ) Array ( [0] => red [1] => green ) Array ( [0] => blue [1] => yellow [2] => red [3] => green ) Array ( [0] => red [1] => green [2] => blue [3] => yellow ) Array ( [0] => blue [1] => yellow ) Array ( [0] => red [1] => green ) ANSWER DOWNLOAD EXAMIANS APP