PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); Hello World ia eo Hilla Warld Hello World ia eo Hilla Warld 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); Error 84 42 0 Error 84 42 0 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 ERROR Have a good night! Have a good day! None of the mentioned ERROR Have a good night! Have a good day! 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); Call By Value Default Argument Value Type Hinting Call By Reference Call By Value Default Argument Value Type Hinting Call By Reference ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sayHello() {echo "HelloWorld";}$function_holder = "sayHello";$function_holder(); HelloWorld sayHello Error No Output HelloWorld sayHello Error No Output ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... Always right to left sometimes left to right and sometimes right to left left to right right to left Always right to left sometimes left to right and sometimes right to left left to right right to left ANSWER DOWNLOAD EXAMIANS APP