PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";$color3 = "grey";echo "$color1" + "$color2" . "$color3"; red1grey 0 1grey grey red1grey 0 1grey grey ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo 5 * 9 / 3 + 9; 3.85 3.7 24 0 3.85 3.7 24 0 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"; 0 1 redgreen red green 0 1 redgreen red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0) {$i++;print $i;print "hello";} error 4hello4hello4hello4hello4hello…..infinite 5hello5hello5hello5hello5hello…..infinite no output error 4hello4hello4hello4hello4hello…..infinite 5hello5hello5hello5hello5hello…..infinite no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = "test";$y = "this";$z = "also";$x .= $y .= $z ;echo $x;echo $y; testthisthisalso error at line 4 testthis testthisalsothisalso testthisthisalso error at line 4 testthis testthisalsothisalso ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3$z = 1;$z = $z + $x + $y;echo "$z"; 8 $z 15 1 8 $z 15 1 ANSWER DOWNLOAD EXAMIANS APP