PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblabla hello helloblablablabla Error helloblabla hello helloblablablabla Error 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 ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} greeting GREETING Welcome to Narnia ERROR greeting GREETING Welcome to Narnia ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "cd" returns "f" returns "c" returns "d" returns "cd" returns "f" returns "c" returns "d" ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo stripos("I love php, I love php too!","PHP"); 7 8 10 3 7 8 10 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function string(){echo strstr("Hello world!", 111);}string(); o world! No Output Hello world! 111 o world! No Output Hello world! 111 ANSWER DOWNLOAD EXAMIANS APP