PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} 2 0 no output 1 2 0 no output 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); nothing thiswasabadidea error this was a bad idea nothing thiswasabadidea error this was a bad idea ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = "$winner";$b = "$looser";echo $a, $b; \ $looser $looser $winner$looser \ $looser $looser $winner$looser ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; 20 0 true0 true20 20 0 true0 true20 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "two";print($one$two); error nothing onetwo one error nothing onetwo one ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} 3 1 no output 2 3 1 no output 2 ANSWER DOWNLOAD EXAMIANS APP