PHP Functions What will be the output of the following PHP code ?function mine($num){$num = 2 + $num;echo $num;}mine(3); None of the mentioned 3 5 $num None of the mentioned 3 5 $num ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo(atan(0.50)); 0.11845976421345 1 0.46364760900081 0.23568451142521 0.11845976421345 1 0.46364760900081 0.23568451142521 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';}b();a(); I am b I am a Error Error I am bI am a I am b I am a Error Error I am bI am a 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 } function { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } function fumctionName(parameters) { function body } function { function body } data type functionName(parameters) { function body } functionName(parameters) { function body } ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); Sum 1 Error 49 Sum 1 Error 49 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?$x = 75;$y = 25;function addition(){$GLOBALS['z'] = $GLOBALS['x'] + $GLOBALS['y'];}addition();echo $z; 25 75 100 error 25 75 100 error ANSWER DOWNLOAD EXAMIANS APP