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 100 75 error 25 100 75 error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip_compress() compress() gzcompress() zip() zip_compress() compress() gzcompress() zip() 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(); I am b I am bI am a I am a Error Error I am b I am bI am a I am a Error Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla";function foo($op1) {echo $op1;echo $op2;}foo("hello"); hello helloblablablabla helloblabla error hello helloblablablabla helloblabla error 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; 84 0 Error 42 84 0 Error 42 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to build a function that accepts any number of arguments? func_get_argc() get_argv() get_argc() func_get_argv() func_get_argc() get_argv() get_argc() func_get_argv() ANSWER DOWNLOAD EXAMIANS APP