PHP Operators and Expressions What will be the output of the following PHP code ?$x = 10;$y = 4;$z = 3;echo $x % $y % $z; Error 2 0 1 Error 2 0 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";$color = "green";echo "$color"; red red green green error red red green green error 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; true0 true20 20 0 true0 true20 20 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print "echo hello world"; nothing error echo hello world hello world nothing error echo hello world hello world 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;} no output 1 3 2 no output 1 3 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 1;if ($i++ && ($i == 1))printf("Yesn$i");elseprintf("Non$i"); Yes 1 No 1 No 2 Yes 2 Yes 1 No 1 No 2 Yes 2 ANSWER DOWNLOAD EXAMIANS APP