PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); hello helloblabla Error helloblablablabla hello helloblabla Error helloblablablabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I love all Country I love all country I Love All Country i love all Country I love all Country I love all country I Love All Country i love all Country 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 What will be the output of the following PHP code?$op2 = "blabla";function foo($op1) {echo $op1;echo $op2;}foo("hello"); hello helloblablablabla error helloblabla hello helloblablablabla error helloblabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() All of the mentioned Only 2 3 and 4 None of the mentioned All of the mentioned Only 2 3 and 4 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "d" returns "f" returns "c" returns "cd" returns "d" returns "f" returns "c" returns "cd" ANSWER DOWNLOAD EXAMIANS APP