PHP Functions What will be the output of the following PHP code ?$var = 10;function one(){echo $var;}one(); 10 Error None of the Mentioned No Output 10 Error None of the Mentioned No Output ANSWER DOWNLOAD EXAMIANS APP
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 0 84 Error 42 0 84 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia");echo greeting;} GREETING Welcome to Narnia ERROR greeting GREETING Welcome to Narnia ERROR greeting ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function mine($m){if ($m < 0)echo "less than 0";if ($ >= 0)echo "Not True";}mine(0); No Output Not True None of the Mentioned Less Than 0 No Output Not True None of the Mentioned Less Than 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ord ("hi"); 103 104 209 106 103 104 209 106 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "cd" returns "c" returns "f" returns "d" returns "cd" returns "c" returns "f" returns "d" ANSWER DOWNLOAD EXAMIANS APP