PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); Error helloblablablabla hello helloblabla Error helloblablablabla hello helloblabla 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
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 -0.5 1 0.5 0 -0.5 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? uniqueid() id() mdid() md5() uniqueid() id() mdid() md5() 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 sayHello No Output HelloWorld Error sayHello No Output HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function uppercase($string) {echo ucwords($string);}$wow = "uppercase";$wow("Time to live king size"); Uppercase TIME TO LIVE KING SIZE Time To Live King Size Time to live king size Uppercase TIME TO LIVE KING SIZE Time To Live King Size Time to live king size ANSWER DOWNLOAD EXAMIANS APP