PHP Functions Which one of the following is the right way of defining a function in PHP? data type functionName(parameters) { function body } functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function { function body } function fumctionName(parameters) { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); Hello World ERROR No Output None of the mentioned Hello World ERROR No Output None of the mentioned 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 error hello helloblabla helloblablablabla error hello helloblabla ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); MCQ questons Hello World! welcome to india This is PHP! MCQ questons Hello World! welcome to india This is PHP! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Default Function Magic Function User Defined Function Inbuilt Function Default Function Magic Function User Defined Function Inbuilt Function ANSWER DOWNLOAD EXAMIANS APP
PHP Functions phpinfo() will display about?1. OS version information2. PHP installation3. Variables4. HTTP headers Option 4 Option 1 All listed here Option 2 Option 4 Option 1 All listed here Option 2 ANSWER DOWNLOAD EXAMIANS APP