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 /$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 ?var $one = 1;var $two = 2;echo $one / $two * $one / $two * $two; 0.5 Error 1 0 0.5 Error 1 0 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; 12 01 21 02 12 01 21 02 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("NEW_GOOD_NAME_CONSTANT", "I have a value");define("OLD_BAD_NAME_CONSTANT", NEW_GOOD_NAME_CONSTANT);echo NEW_GOOD_NAME_CONSTANT;echo OLD_BAD_NAME_CONSTANT; ERROR I have a valueNEW_GOO_NAME_CONSTANTS I have a valueI have a value I have a value ERROR I have a valueNEW_GOO_NAME_CONSTANTS I have a valueI have a value I have a value ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;$z = 1;echo "$x = $x + $y + $z"; 8 Error 4 = 4 + 3 + 1 8 = 4 + 3 +1 8 Error 4 = 4 + 3 + 1 8 = 4 + 3 +1 ANSWER DOWNLOAD EXAMIANS APP