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 TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}a("Sherlock");b(); Error I am here to spoil this code None of the mentioned my favourite TV show is SherlockI am here ro spoil this code Error I am here to spoil this code None of the mentioned my favourite TV show is SherlockI am here ro spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions strlen() returns the length of the string on success and . . . . if the string is empty. Garbage value 0 NULL -1 Garbage value 0 NULL -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function _func(){echo "Hello World";}_func(); No Output None of the mentioned ERROR Hello World No Output None of the mentioned ERROR Hello World 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";}}function b() {echo " I am here to spoil this code";}b(); None of the mentioned Error I am here to spoil this code my favourite TV show isI am here to spoil this code None of the mentioned Error I am here to spoil this code my favourite TV show isI am here to spoil this code 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 : $return_value Returned value from the function : 30 Error Returned value from the function : Returned value from the function : $return_value Returned value from the function : 30 Error Returned value from the function : ANSWER DOWNLOAD EXAMIANS APP