PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 0;$var1 = ($var1 + 5)++;echo $var1; 6 5 7 error 6 5 7 error 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 01234567891011121314…infinitely 1234567891011121314….infinitely error no output 01234567891011121314…infinitely 1234567891011121314….infinitely error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?< ? php < ? php echo "Hello world"; ? > ? > Hello Nothing Error Hello world Hello Nothing Error Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} 00000000000000000000….infinitely no output -1-1-1-1-1-1-1-1-1-1…infinitely error 00000000000000000000….infinitely no output -1-1-1-1-1-1-1-1-1-1…infinitely error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; IF: IF:42 ERROR No output IF: IF:42 ERROR No output 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 22 no output true 33 true 23 true 22 no output true 33 true 23 ANSWER DOWNLOAD EXAMIANS APP