PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); 3 5 $num None of the mentioned 3 5 $num None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions It is always necessary to use parentheses with the print function. True False True False ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following is the right way of defining a function in PHP? function fumctionName(parameters) { function body } 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 } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); Less Than 0 Not True No Output None of the Mentioned Less Than 0 Not True No Output None 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";}}function b() {echo " I am here to spoil this code";}b(); 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 I am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function a() {function b() {echo 'I am b';}echo 'I am a';}a();a(); I am bI am a I am a Error I am b Error I am bI am a I am a Error I am b Error ANSWER DOWNLOAD EXAMIANS APP