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 sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); Error No Output sayHello HelloWorld Error No Output sayHello HelloWorld 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"); helloblablablabla hello Error helloblabla helloblablablabla hello Error helloblabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Type Hinting was introduced in which version of PHP? PHP 5 PHP 6 PHP 4 PHP 5.3 PHP 5 PHP 6 PHP 4 PHP 5.3 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 Which one of the following PHP functions can be used to build a function that accepts any number of arguments? func_get_argv() get_argc() get_argv() func_get_argc() func_get_argv() get_argc() get_argv() func_get_argc() ANSWER DOWNLOAD EXAMIANS APP