PHP Operators and Expressions What will be the output of the following PHP code ?$i = 2;while (++$i) {while ($i --> 0)print $i;} 210 10 no output infinite loop 210 10 no output infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{$x = 10;echo "$x";}echo "$x"; 510 105 error 1010 510 105 error 1010 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color"; red red $color Error red red $color Error 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;} 555555555…infinitely 54321 error 5 555555555…infinitely 54321 error 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} error 00000000000000000000….infinitely no output -1-1-1-1-1-1-1-1-1-1…infinitely error 00000000000000000000….infinitely no output -1-1-1-1-1-1-1-1-1-1…infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; Error This was a bad idea Thiswasabadidea This, was, a, bad, idea Error This was a bad idea Thiswasabadidea This, was, a, bad, idea ANSWER DOWNLOAD EXAMIANS APP