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); 41 -5 -4 51 41 -5 -4 51 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3$z = 1;$z = $z + $x + $y;echo "$z"; 15 1 $z 8 15 1 $z 8 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while (++$i && --$i) {print $i;} 1234567891011121314….infinitely 01234567891011121314…infinitely error no output 1234567891011121314….infinitely 01234567891011121314…infinitely error no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions If you do something to an integer that makes it larger than the maximum allowable integer or smaller than the minimum possible integer, the PHP interpreter converts the result into a . . . . . Integers None of above String Floating point number Integers None of above String Floating point number 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(); 000 Error 012 123 000 Error 012 123 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y <> ($y != $y++)) {echo $y;} 1 2 0 no output 1 2 0 no output ANSWER DOWNLOAD EXAMIANS APP