PHP Arrays What will be the output of the following PHP code ?$a = array(12, 5, 2);echo(array_product($a)); 060 120 010 024 060 120 010 024 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "mango", "peach", "pear", "orange");$subset = array_splice ($fruits, 2);print_r ($fruits); Array ( [0] => apple [1] => mango [2] => peach ) Array ( [0] => pear [1] => orange ) Array ( [0] => apple [1] => mango ) Error Array ( [0] => apple [1] => mango [2] => peach ) Array ( [0] => pear [1] => orange ) Array ( [0] => apple [1] => mango ) Error 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 a c b d a c b ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which in-built function will add a value to the end of an array? array_unshift() into_array() inend_array() array_push() array_unshift() into_array() inend_array() array_push() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What elements will the following script output?$array = array (true => 'a', 1 => 'b');var_dump ($array); None True => 'a', 1 => 'b' It will output NULL 1 => 'b' None True => 'a', 1 => 'b' It will output NULL 1 => 'b' 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)); appleapple appleorange orangebanana orangeorange appleapple appleorange orangebanana orangeorange ANSWER DOWNLOAD EXAMIANS APP