PHP Arrays Which in-built function will add a value to the end of an array? inend_array() into_array() array_unshift() array_push() inend_array() into_array() array_unshift() array_push() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$number = array ("4", "hello", 2);echo (array_sum ($number)); 4hello2 2 4 6 4hello2 2 4 6 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); b c a d b c a d ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What elements will the following script output?$array = array (true => 'a', 1 => 'b');var_dump ($array); True => 'a', 1 => 'b' 1 => 'b' It will output NULL None True => 'a', 1 => 'b' 1 => 'b' It will output NULL None ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Assume you would like to sort an array in ascending order by value while preserving key associations. Which of the following PHP sorting functions would you use? ksort() sort() krsort() usort() asort() ksort() sort() krsort() usort() asort() 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)); 120 024 060 010 120 024 060 010 ANSWER DOWNLOAD EXAMIANS APP