PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0 && ++$i) {print $i;} 54321 555555555…infinitely error 5 54321 555555555…infinitely error 5 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"; 1 15 8 $z 1 15 8 $z ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; true20 20 true0 0 true20 20 true0 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = -3;$z = 11;echo 4 + $y * $z / $x; 4.25 -3.25 3.25 -4.25 4.25 -3.25 3.25 -4.25 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";} 5hello5hello5hello5hello5hello…..infinite 4hello4hello4hello4hello4hello…..infinite no output error 5hello5hello5hello5hello5hello…..infinite 4hello4hello4hello4hello4hello…..infinite no output error 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"; red green red green error red green red green error ANSWER DOWNLOAD EXAMIANS APP