PHP Functions . . . . . converts the keys of an array into values and the values into keys. array_flip() array_flips() array_transpose() array_trans() array_flip() array_flips() array_transpose() array_trans() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "cd" returns "d" returns "f" returns "c" returns "cd" returns "d" returns "f" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 42 84 Error 0 42 84 Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function email(){$email = ’contact@examians.com’;$new = strstr($email, ‘@');echo $new;}email(); contact@examians.com contact @examians.com examians.com contact@examians.com contact @examians.com examians.com ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() 3 and 4 None of the mentioned Only 2 All of the mentioned 3 and 4 None of the mentioned Only 2 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used to get the current memory usage? get_memory_usage() get_usage() get_memory_peak_usage() get_peak_usage() get_memory_usage() get_usage() get_memory_peak_usage() get_peak_usage() ANSWER DOWNLOAD EXAMIANS APP