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 no output 4hello4hello4hello4hello4hello…..infinite error 5hello5hello5hello5hello5hello…..infinite no output 4hello4hello4hello4hello4hello…..infinite error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); this was a bad idea thiswasabadidea nothing error this was a bad idea thiswasabadidea nothing error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x;echo "$x"; Nothing Error 1 0 Nothing Error 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x=0; function fun() {echo $GLOBALS['x'];$GLOBALS['x']++;}fun();fun();fun(); Error 012 000 123 Error 012 000 123 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print $var = ++$var; 0 3 2 1 0 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ? Missing semicolon error Error Nothing Hello World Missing semicolon error Error Nothing Hello World ANSWER DOWNLOAD EXAMIANS APP