PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); Error hello helloblabla helloblablablabla Error hello helloblabla helloblablablabla 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 Error 84 42 0 Error 84 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function constant(){define("GREETING", "Welcome to Narnia",true);echo greeting;} Welcome to Narnia ERROR GREETING greeting Welcome to Narnia ERROR GREETING greeting ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); ia Hello World Hilla Warld eo ia Hello World Hilla Warld eo 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 right to left left to right Always right to left sometimes left to right and sometimes right to left right to left left to right ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function sum($num1, $num2) {$total = $num1 + $num2;echo "chr($total)";}$var1 = "sum";$var1(5, 44); 49 Error 1 Sum 49 Error 1 Sum ANSWER DOWNLOAD EXAMIANS APP