PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); Error sayHello No Output HelloWorld Error sayHello No Output HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I love all Country i love all Country I love all country I Love All Country I love all Country i love all Country I love all country I Love All Country ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am bb';}echo 'I am a';}b();a(); I am bI am a I am bb I am a Error Error I am bI am a I am bb I am a Error Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string) {echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}b(); I am here to spoil this code My favourite TV show isI am here to spoil this code Error None of the mentioned I am here to spoil this code My favourite TV show isI am here to spoil this code Error None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function addFunction($num1, $num2) {$sum = $num1 + $num2;return $sum;}$return_value = addFunction(10, 20);echo "Returned value from the function : $return_value" Returned value from the function : 30 Error Returned value from the function : $return_value Returned value from the function : Returned value from the function : 30 Error Returned value from the function : $return_value Returned value from the function : 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 ERROR GREETING Welcome to Narnia greeting ERROR GREETING Welcome to Narnia ANSWER DOWNLOAD EXAMIANS APP