PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){$x = 10;echo "$x";}fun();echo "$x"; 0 105 Error 510 0 105 Error 510 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print ++$var++; 3 5 error 4 3 5 error 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0 && ++$i) {print $i;} 555555555…infinitely 5 error 54321 555555555…infinitely 5 error 54321 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 2.5, -2 3.5, -3.5 2, -2 3, -3 2.5, -2 3.5, -3.5 2, -2 3, -3 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 4;$c = fun(10,4);function fun($a,$b) {$b = 3;return $a - $b + $b - $a;}echo $a;echo $b;echo $c; 410 104 4100 1400 410 104 4100 1400 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '4';print + + $a; error no output 5 0 error no output 5 0 ANSWER DOWNLOAD EXAMIANS APP