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); -4 41 51 -5 -4 41 51 -5 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'];$x++;}fun();fun();fun(); Nothing Error 012 000 Nothing Error 012 000 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (**$y == 4) {echo $y;} 4 error at line2 no output 2 4 error at line2 no output 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print ++$var++; 4 5 3 error 4 5 3 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 1;$y = 2;if (++$x == $y++) {echo "true ", $y, $x;} true 23 no output true 33 true 22 true 23 no output true 33 true 22 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This", "was", "a", "bad", "idea"; This was a bad idea This, was, a, bad, idea Thiswasabadidea Error This was a bad idea This, was, a, bad, idea Thiswasabadidea Error ANSWER DOWNLOAD EXAMIANS APP