PHP Operators and Expressions What will be the output of the following PHP code ?define("GREETING", "PHP is a scripting language");echo $GREETING; PHP is a scripting language GREETING no output $GREETING PHP is a scripting language GREETING no output $GREETING ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ($i = 10) {print "hi";}print "hello"; infinite loop hihello error hello infinite loop hihello error hello 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"; 1010 error 510 105 1010 error 510 105 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 Thiswasabadidea This was a bad idea This, was, a, bad, idea Error Thiswasabadidea This was a bad idea This, was, a, bad, idea ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{echo "$x";} Nothing 0 5 Error Nothing 0 5 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 30;$y = 20;$z = 10;echo $x + $y - $z / ($z - $y); -4 -5 41 51 -4 -5 41 51 ANSWER DOWNLOAD EXAMIANS APP