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 1 0.5 -0.5 0 1 0.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Default Function Magic Function User Defined Function Inbuilt Function Default Function Magic Function User Defined Function Inbuilt Function ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 3 4 1 2 3 4 1 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$title = "O'malley wins the heavyweight championship!";echo ucwords($title); O’malley Wins The Heavyweight Championship! O’Malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’Malley wins the heavyweight championship! O’malley Wins The Heavyweight Championship! O’Malley Wins The Heavyweight Championship! o’malley wins the heavyweight championship! O’Malley wins the heavyweight championship! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "f" returns "cd" returns "d" returns "c" returns "f" returns "cd" returns "d" returns "c" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. True False True False ANSWER DOWNLOAD EXAMIANS APP