PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";echo "$color1" + "$color2"; red 1 0 red1 1 red 1 0 red1 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$x = $i++;$y = ++$i;print $x;print $y; 02 12 21 01 02 12 21 01 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "red";echo "$color1" + "$color2"; red green 0 1 redgreen red green 0 1 redgreen ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{$x = 10;echo "$x";}echo "$x"; 510 1010 105 error 510 1010 105 error ANSWER DOWNLOAD EXAMIANS APP
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 ?$one = "one";$two = "one";print($one == $two); true error false 1 true error false 1 ANSWER DOWNLOAD EXAMIANS APP