PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; IF:42 No output IF: ERROR IF:42 No output IF: ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?< ? php < ? php echo "Hello world"; ? > ? > Error Nothing Hello Hello world Error Nothing Hello Hello world 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;} no output true 33 true 22 true 23 no output true 33 true 22 true 23 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;} no output error 1234567891011121314….infinitely 01234567891011121314…infinitely no output error 1234567891011121314….infinitely 01234567891011121314…infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = -3;$z = 11;echo 4 + $y * $z / $x; 3.25 -3.25 -4.25 4.25 3.25 -3.25 -4.25 4.25 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; nothing red red red error nothing red red red error ANSWER DOWNLOAD EXAMIANS APP