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; error 25 100 75 error 25 100 75 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which of the following are valid function names?1. function()2. €()3. .function()4. $function() All of the mentioned 3 and 4 Only 2 None of the mentioned All of the mentioned 3 and 4 Only 2 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();TV("Sherlock"); 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 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 calc($num1, $num2){$total = $num1 * $num2;}$result = calc(42, 0);echo $result; 42 84 0 Error 42 84 0 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ord ("hi"); 103 106 104 209 103 106 104 209 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