PHP Arrays What will be the output of the following PHP code ?$city_west = array("NYC", "London");$city_east = array("Mumbai", "Beijing");print_r(array_replace($city_west, $city_east)); Array ( [0] => NYC [1] => London ) Array ( [1] => Mumbai [0] => Beijing ) Array ( [1] => NYC [0] => London ) Array ( [0] => Mumbai [1] => Beijing ) Array ( [0] => NYC [1] => London ) Array ( [1] => Mumbai [0] => Beijing ) Array ( [1] => NYC [0] => London ) Array ( [0] => Mumbai [1] => Beijing ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which array function checks if the specified key exists in the array? array_keys_exists() array_key_exist() arrays_key_exists() array_key_exists() array_keys_exists() array_key_exist() arrays_key_exists() array_key_exists() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function can be used to move the pointer to the previous array position? before() prev() last() previous() before() prev() last() previous() 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)); 010 060 024 120 010 060 024 120 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? usort() ksort() sort() asort() krsort() usort() ksort() sort() asort() krsort() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Array values are keyed by ______ values (called indexed arrays) or using ______ values (called associative arrays). Of course, these key methods can be combined as well. String, Boolean Even number, string Float, string Integer, string Positive number, negative number String, Boolean Even number, string Float, string Integer, string Positive number, negative number ANSWER DOWNLOAD EXAMIANS APP