PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); 0 Error $msg Will this work 0 Error $msg Will this work 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; error 75 100 25 error 75 100 25 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "cos($total)";}sum(5,-5); 0.5 -0.5 1 0 0.5 -0.5 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 1 4 2 3 1 4 2 3 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
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); Hello World eo Hilla Warld ia Hello World eo Hilla Warld ia ANSWER DOWNLOAD EXAMIANS APP