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; 75 error 25 100 75 error 25 100 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "cd" returns "d" returns "f" returns "c" returns "cd" returns "d" returns "f" returns "c" 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 WorksThis Too Seems To Work This Works ERROR This Too Seems To Work This WorksThis Too Seems To Work This Works ERROR This Too Seems To Work ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Error $msg Will this work 0 Error $msg Will this work 0 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(); Error I am a Error I am b I am bI am a Error I am a Error I am b I am bI am a ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? gzcompress() zip_compress() zip() compress() gzcompress() zip_compress() zip() compress() ANSWER DOWNLOAD EXAMIANS APP