PHP Functions What will be the output of the following PHP code?echo hex2bin("48656c6c6f20576f726c6421"); This is PHP! MCQ questons welcome to india Hello World! This is PHP! MCQ questons welcome to india Hello World! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} GREETING greeting Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; 0 84 42 Error 0 84 42 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? function fumctionName(parameters) { function body } 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 } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function time($string){echo strtr("Towe Pa55", "ow5", $string);}time("ims"); Time Pass Time Pa55 Towe Pass Towe Pa55 Time Pass Time Pa55 Towe Pass Towe Pa55 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? file() glob() get_file() fold() file() glob() get_file() fold() ANSWER DOWNLOAD EXAMIANS APP