PHP Arrays What will be the output of the following PHP code ?$people = array("Peter", "Susan", "Edmund", "Lucy");echo pos($people); Edmund Susan Peter Lucy Edmund Susan Peter Lucy 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 orangeorange orangebanana appleapple appleorange orangeorange orangebanana ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function returns an array consisting of associative key/value pairs? array_count_values() array_count() count_values() count() array_count_values() array_count() count_values() count() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$state = array ("Karnataka", "Goa", "Tamil Nadu", "Andhra Pradesh");echo (array_search ("Tamil Nadu", $state) ); False 2 1 True False 2 1 True ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which function can be used to move the pointer to the previous array position? previous() before() prev() last() previous() before() prev() last() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$a = array("red", "green", "blue");array_pop($a);print_r($a); Array ( [0] => blue [1] => blue ) Array ( [0] => green [1] => blue ) Array ( [0] => red [1] => green ) Array ( [0] => red [1] => blue ) Array ( [0] => blue [1] => blue ) Array ( [0] => green [1] => blue ) Array ( [0] => red [1] => green ) Array ( [0] => red [1] => blue ) ANSWER DOWNLOAD EXAMIANS APP