PHP Functions Which one of the following is the right way of defining a function in PHP? function { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } 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? get_argv() func_get_argv() func_get_argc() get_argc() get_argv() func_get_argv() func_get_argc() get_argc() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. -1 0 Garbage value NULL -1 0 Garbage value NULL 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
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); I am awesome!! const “const”,”I am awesome!” const, I am awesome!! I am awesome!! const “const”,”I am awesome!” const, I am awesome!! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following PHP functions can be used for generating unique id’s? md5() id() uniqueid() mdid() md5() id() uniqueid() mdid() ANSWER DOWNLOAD EXAMIANS APP