PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "1";$color2 = "1";echo "$color1" + "$color2"; 0 2 11 1 0 2 11 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print $var = ++$var; 2 1 0 3 2 1 0 3 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
PHP Operators and Expressions What will be the output of the following PHP code ?< ? php < ? php echo "Hello world"; ? > ? > Error Hello world Hello Nothing Error Hello world Hello Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class Constants{define('MIN_VALUE', '0.0');define('MAX_VALUE', '1.0');public static function getMinValue() {return self::MIN_VALUE;}public static function getMaxValue() {return self::MAX_VALUE;}}echo Constants::getMinValue();echo Constants::getMaxValue(); 01 ERROR No output 0.01.0 01 ERROR No output 0.01.0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$four4 = 4;$three3 = 3;$two2 = 2;echo $four4 + $three3 / $two2 - 1; 7 3.5 4.5 Error 7 3.5 4.5 Error ANSWER DOWNLOAD EXAMIANS APP