PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); No Output 10 Error None of the Mentioned No Output 10 Error None of the Mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} None of the mentioned Have a good day! ERROR Have a good night! None of the mentioned Have a good day! ERROR Have a good night! ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will happen in this function call?function calc($price, $tax) {$total = $price + $tax;}$pricetag = 15;$taxtag = 3;calc($pricetag, $taxtag); Type Hinting Call By Value Call By Reference Default Argument Value Type Hinting Call By Value Call By Reference Default Argument Value ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function 2myfunc(){echo "Hello World";}2myfunc(); ERROR No Output Hello World None of the mentioned ERROR No Output Hello World None of the mentioned 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() func_get_argv() get_argc() get_argv() func_get_argc() func_get_argv() get_argc() ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo stripos("I love php, I love php too!","PHP"); 7 10 3 8 7 10 3 8 ANSWER DOWNLOAD EXAMIANS APP