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 $msg Error 0 Will this work $msg Error 0 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? get_argv() func_get_argc() get_argc() func_get_argv() get_argv() func_get_argc() get_argc() func_get_argv() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions A function in PHP which starts with ______ (double underscore) is know as. User Defined Function Magic Function Inbuilt Function Default Function User Defined Function Magic Function Inbuilt Function Default Function ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function onespan>() {define("const","I am awesome!");echo constant("const");}one(); “const”,”I am awesome!” const, I am awesome!! const I am awesome!! “const”,”I am awesome!” const, I am awesome!! const I am awesome!! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? zip() compress() zip_compress() gzcompress() zip() compress() zip_compress() gzcompress() 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