PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} ERROR None of the mentioned Have a good day! Have a good night! ERROR None of the mentioned Have a good day! Have a good night! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function string(){echo strstr("Hello world!", 111);}string(); 111 No Output o world! Hello world! 111 No Output o world! Hello world! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function movie($int){$movies = array("Fight Club", "Kill Bill", "Pulp Fiction");echo "You Do Not Talk About ". $movie[$integer];}movie(0); You Do Not Talk About Fight Club None of the mentioned You Do Not Talk About Pulp Fiction I You Do Not Talk About Fight Club None of the mentioned You Do Not Talk About Pulp Fiction I 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 No Output sayHello HelloWorld Error No Output sayHello HelloWorld 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 } functionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } function fumctionName(parameters) { function body } functionName(parameters) { function body } function { function body } data type functionName(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(); ERROR None of the mentioned Hello World No Output ERROR None of the mentioned Hello World No Output ANSWER DOWNLOAD EXAMIANS APP