PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Will this work 0 Error $msg Will this work 0 Error $msg 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 error 100 75 25 error 100 75 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... left to right right to left sometimes left to right and sometimes right to left Always right to left left to right right to left sometimes left to right and sometimes right to left Always right to left ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function test($int){if ($int == 1)echo "This Works";if ($int == 2)echo "This Too Seems To Work";}test(1);TEST(2); This Works This WorksThis Too Seems To Work This Too Seems To Work ERROR This Works This WorksThis Too Seems To Work This Too Seems To Work ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ord ("hi"); 104 103 106 209 104 103 106 209 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(); Error I am bI am a I am b I am a Error Error I am bI am a I am b I am a Error ANSWER DOWNLOAD EXAMIANS APP