PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";echo "$color";echo "$COLOR";echo "$Color"; redred red redredred Error redred red redredred Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 2;while (++$i) {while ($i --> 0)print $i;} infinite loop 10 no output 210 infinite loop 10 no output 210 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; Error red $color red Error red $color red ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 5;$b = -7;$c =0;$d = ++$a && ++$b || ++$c;print $d;print $a; 05 15 06 16 05 15 06 16 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"); No 1 Yes 2 No 2 Yes 1 No 1 Yes 2 No 2 Yes 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;$z = "$x + $y";echo "$z"; $z $x + $y 15 10 + 5 $z $x + $y 15 10 + 5 ANSWER DOWNLOAD EXAMIANS APP