PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; 1grey 0 grey red1grey 1grey 0 grey red1grey 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 $winner$looser $looser \ $looser $winner$looser $looser \ 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 23 true 33 true 22 no output true 23 true 33 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; 10 true0 true10 0 10 true0 true10 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ($i = 10) {print "hi";}print "hello"; infinite loop hello hihello error infinite loop hello hihello error 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 Toyota My car is a BMW Error My car is a Volvo My car is a Toyota My car is a BMW Error My car is a Volvo ANSWER DOWNLOAD EXAMIANS APP