PHP Functions What will be the output of the following PHP code ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Towe Pa55 Time Pa55 Time Pass Towe Pass Towe Pa55 Time Pa55 Time Pass Towe Pass 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_memory_peak_usage() get_usage() get_peak_usage() get_memory_usage() get_memory_peak_usage() get_usage() get_peak_usage() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function do($myString) {echo strpos($myString, "donkey",0);}do("The donkey looks like a horse."); 2 None of the mentioned 5 4 2 None of the mentioned 5 4 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(); examians.com @examians.com contact@examians.com contact examians.com @examians.com contact@examians.com contact ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 0.5 -0.5 1 0 0.5 -0.5 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); $num None of the mentioned 5 3 $num None of the mentioned 5 3 ANSWER DOWNLOAD EXAMIANS APP