PHP Functions What will be the output of the following PHP code?echo strtr("Hilla Warld","ia","eo"); Hilla Warld eo Hello World ia Hilla Warld eo Hello World ia ANSWER DOWNLOAD EXAMIANS APP
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; Error 0 84 42 Error 0 84 42 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$op2 = "blabla"; function foo($op1) {echo $op1;echo $op2;}foo("hello"); helloblablablabla hello helloblabla Error helloblablablabla hello helloblabla Error 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!";} Have a good night! Have a good day! ERROR None of the mentioned Have a good night! Have a good day! ERROR None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
PHP Functions . . . . returns a new DateTime object. date_create() date() getdate() date_sunrise() date_create() date() getdate() date_sunrise() 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); Error Sum 1 49 Error Sum 1 49 ANSWER DOWNLOAD EXAMIANS APP