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 49 1 Sum Error 49 1 Sum ANSWER DOWNLOAD EXAMIANS APP
PHP Functions Returning values from functions may include ..... Both A & B None of above Objects Arrays Both A & B None of above Objects Arrays ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function TV($string) {echo "my favourite TV show is ".$string;function b() {echo " I am here to spoil this code";}}b(); My favourite TV show isI am here to spoil this code Error None of the mentioned I am here to spoil this code My favourite TV show isI am here to spoil this code Error None of the mentioned I am here to spoil this code ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?function foo($msg) {echo "$msg";}$var1 = "foo";$var1("will this work"); Error $msg 0 Will this work Error $msg 0 Will this work ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... 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 Always right to left 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"); Error hello helloblablablabla helloblabla Error hello helloblablablabla helloblabla ANSWER DOWNLOAD EXAMIANS APP