PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); 10 No Output Error None of the Mentioned 10 No Output Error None of the Mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} ERROR GREETING greeting Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? 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 } function fumctionName(parameters) { function body } 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); I You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction None of the mentioned I You Do Not Talk About Fight Club You Do Not Talk About Pulp Fiction None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); ia Hilla Warld eo Hello World ia Hilla Warld eo Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. Default Function Magic Function Inbuilt Function User Defined Function Default Function Magic Function Inbuilt Function User Defined Function ANSWER DOWNLOAD EXAMIANS APP