PHP Functions What will be the output of the following PHP code?function calc($price, $tax="") {$total = $price + ($price * $tax);echo "$total";}calc(42); 42 84 Error 0 42 84 Error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following functions can be used to compress a string? gzcompress() zip_compress() compress() zip() gzcompress() zip_compress() compress() zip() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Which one of the following PHP functions can be used to find files? glob() file() get_file() fold() glob() file() get_file() fold() 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() get_argc() func_get_argv() func_get_argc() get_argv() get_argc() func_get_argv() func_get_argc() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string){echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}a("Sherlock");b(); None of the mentioned I am here to spoil this code Error my favourite TV show is SherlockI am here ro spoil this code None of the mentioned I am here to spoil this code Error my favourite TV show is SherlockI am here ro spoil this code 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 Will this work 0 $msg Error Will this work 0 $msg ANSWER DOWNLOAD EXAMIANS APP