PHP Operators and Expressions What will be the output of the following PHP code ?$i = 5;while (--$i > 0) {$i++;print $i;print "hello";} no output 4hello4hello4hello4hello4hello…..infinite error 5hello5hello5hello5hello5hello…..infinite no output 4hello4hello4hello4hello4hello…..infinite error 5hello5hello5hello5hello5hello…..infinite 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; error at line 4 testthis testthisalsothisalso testthisthisalso error at line 4 testthis testthisalsothisalso testthisthisalso ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("GREETING", "PHP is a scripting language");echo $GREETING; GREETING no output PHP is a scripting language $GREETING GREETING no output PHP is a scripting language $GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?< ? php < ? php echo "Hello world"; ? > ? > Hello world Nothing Hello Error Hello world Nothing Hello Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;$z = 1;echo "$x = $x + $y + $z"; 8 8 = 4 + 3 +1 4 = 4 + 3 + 1 Error 8 8 = 4 + 3 +1 4 = 4 + 3 + 1 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = "$winner";$b = "$looser";echo $a, $b; $looser $looser \ $winner$looser $looser $looser \ $winner$looser ANSWER DOWNLOAD EXAMIANS APP