PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() 3 and 4 Only 2 None of the mentioned All of the mentioned 3 and 4 Only 2 None of the mentioned All of the mentioned 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(); Error My favourite TV show isI am here to spoil this code I am here to spoil this code None of the mentioned Error My favourite TV show isI am here to spoil this code I am here to spoil this code None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function _func(){echo "Hello World";}_func(); ERROR None of the mentioned No Output Hello World ERROR None of the mentioned No Output Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? glob() fold() file() get_file() glob() fold() file() get_file() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love my country"); I Love My Country I love my Country i love my Country I love my country I Love My Country I love my Country i love my Country I love my country 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 Returned value from the function : Error Returned value from the function : $return_value Returned value from the function : 30 Returned value from the function : Error Returned value from the function : $return_value ANSWER DOWNLOAD EXAMIANS APP