PHP Operators and Expressions What will be the output of the following PHP code ?$i = 2;while (++$i) {while ($i --> 0)print $i;} 10 no output infinite loop 210 10 no output infinite loop 210 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {$x = 0;echo $x;$x++;}fun();fun();fun(); 111 123 012 000 111 123 012 000 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.5;$y = 2;$z = 2;echo $x / $y / $z; 3.5 0.875 1.75 Error 3.5 0.875 1.75 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x=0; function fun() {echo $GLOBALS['x'];$GLOBALS['x']++;}fun();fun();fun(); Error 123 000 012 Error 123 000 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 30;$y = 20;$z = 10;echo $x + $y - $z / ($z - $y); -5 51 41 -4 -5 51 41 -4 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$j = 0;if ($i && ($j = $i + 10)) {echo "true";}echo $j; 10 true10 0 true0 10 true10 0 true0 ANSWER DOWNLOAD EXAMIANS APP