PHP Functions What will be the output of the following PHP code ?function calc($num1, $num2){$total = $num1 * $num2;return $total; }$result = calc(42, 0);echo $result; 0 Error 42 84 0 Error 42 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ucwords("i love all country"); I Love All Country I love all Country i love all Country I love all country I Love All Country I love all Country i love all Country I love all country 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); 0 42 Error 84 0 42 Error 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The below statement will return.$Var = substr(""abcdef"", -4, 1); returns "f" returns "cd" returns "c" returns "d" returns "f" returns "cd" returns "c" returns "d" 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(); I am awesome!! “const”,”I am awesome!” const, I am awesome!! const I am awesome!! “const”,”I am awesome!” const, I am awesome!! const ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo ord ("hi"); 209 104 103 106 209 104 103 106 ANSWER DOWNLOAD EXAMIANS APP