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] => Mumbai [1] => Beijing ) Array ( [1] => NYC [0] => London ) Array ( [1] => Mumbai [0] => Beijing ) Array ( [0] => NYC [1] => London ) Array ( [0] => Mumbai [1] => Beijing ) Array ( [1] => NYC [0] => London ) Array ( [1] => Mumbai [0] => Beijing ) Array ( [0] => NYC [1] => London ) ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays PHP’s numerically indexed array begin with position ______. 2 1 -1 0 2 1 -1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function will return true if a variable is an array or false if it is not? this_array() in_array() do_array() is_array() this_array() in_array() do_array() is_array() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$names = array("Sam", "Bob", "Jack");echo $names[0] . "is the brother of " . $names[1] . " and " . $names[1] . "."; Sam is the brother of Bob and Bob) Sam is the brother of Jack and Bob) Error Sam is the brother of Bob and Jack Sam is the brother of Bob and Bob) Sam is the brother of Jack and Bob) Error Sam is the brother of Bob and Jack 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. Positive number, negative number Even number, string Integer, string Float, string String, Boolean Positive number, negative number Even number, string Integer, string Float, string String, Boolean ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function can be used to move the pointer to the previous array position? before() last() previous() prev() before() last() previous() prev() ANSWER DOWNLOAD EXAMIANS APP