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
PHP Arrays What will be the output of the following PHP code?$fruits = array ("apple", "orange", "banana");echo (next($fruits));echo (next($fruits)); orangeorange orangebanana appleapple appleorange orangeorange orangebanana appleapple appleorange ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Which array function checks if the specified key exists in the array? array_keys_exists() array_key_exists() arrays_key_exists() array_key_exist() array_keys_exists() array_key_exists() arrays_key_exists() array_key_exist() ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays What will be the output of the following PHP code?$a = array("a"=>"red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a); blue green red none of the mentioned blue green red none of the mentioned 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) ); 1 True 2 False 1 True 2 False ANSWER DOWNLOAD EXAMIANS APP
PHP Arrays Absent any actual need for choosing one method over the other, does passing arrays by value to a read-only function reduce performance compared to passing them by reference? Yes, because PHP must monitor the execution of the function to determine if changes are made to the array. Yes, because the interpreter must always create a copy of the array before passing it to the function. Yes, but only if the array is large. No Yes, but only if the function modifies the contents of the array. Yes, because PHP must monitor the execution of the function to determine if changes are made to the array. Yes, because the interpreter must always create a copy of the array before passing it to the function. Yes, but only if the array is large. No Yes, but only if the function modifies the contents of the array. ANSWER DOWNLOAD EXAMIANS APP