PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} Welcome to Narnia greeting GREETING ERROR Welcome to Narnia greeting GREETING ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "c" returns "d" returns "f" returns "cd" returns "c" returns "d" returns "f" returns "cd" 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(); sayHello HelloWorld No Output Error sayHello HelloWorld No Output Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo(atan(0.50)); 1 0.23568451142521 0.46364760900081 0.11845976421345 1 0.23568451142521 0.46364760900081 0.11845976421345 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?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); Error 0 84 42 Error 0 84 42 ANSWER DOWNLOAD EXAMIANS APP