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.5 0 1 0.5 -0.5 0 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); 10 Error No Output None of the Mentioned 10 Error No Output None of the Mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); MCQ questons welcome to india This is PHP! Hello World! MCQ questons welcome to india This is PHP! Hello World! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. Garbage value NULL 0 -1 Garbage value NULL 0 -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date_create() getdate() date_sunrise() date() date_create() getdate() date_sunrise() date() 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"); error hello helloblabla helloblablablabla error hello helloblabla helloblablablabla ANSWER DOWNLOAD EXAMIANS APP