PHP Operators and Expressions What will be the output of the following PHP code ?$b = 1;$c = 4;$a = 5;$d = $b + $c == $a;print $d; 10 5 1 0 10 5 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} no output 1 0 2 no output 1 0 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$j = 0;if ($i && ($j = $i + 10)) {echo "true";}echo $j; true10 true0 10 0 true10 true0 10 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");echo "My car is a {$cars[0]}"; My car is a Volvo My car is a Toyota My car is a BMW Error My car is a Volvo My car is a Toyota My car is a BMW Error 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 no output 2 0 1 no output 2 0 ANSWER DOWNLOAD EXAMIANS APP