PHP Operators and Expressions What will be the output of the following PHP code ?$x = 0;function fun() {echo $GLOBALS['x'];$x++;}fun();fun();fun(); Nothing 000 Error 012 Nothing 000 Error 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$j = 1;$k = 2;print !(($i + $k) < ($j - $k)); false 1 0 true false 1 0 true ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 10;$y = 4;$z = 3;echo $x % $y % $z; Error 2 1 0 Error 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 2;while (++$i) {while ($i --> 0)print $i;} 10 210 no output infinite loop 10 210 no output infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ($i = 10) {print "hi";}print "hello"; error infinite loop hello hihello error infinite loop hello hihello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';echo 'qwe{$a}rty'; qwe{$a}rty no output qwe12345rty error qwe{$a}rty no output qwe12345rty error ANSWER DOWNLOAD EXAMIANS APP