PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; grey 1grey 0 red1grey grey 1grey 0 red1grey 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"; 1 red green 0 redgreen 1 red green 0 redgreen ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = red;$color2 = green;echo "$color1"."$color2"; green error red red green green error red red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; myObject::CONSTANT test error no output myObject::CONSTANT test error no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; error 2 192 0 error 2 192 0 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; $winner$looser \ $looser $looser $winner$looser \ $looser $looser ANSWER DOWNLOAD EXAMIANS APP