PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); thiswasabadidea nothing this was a bad idea error thiswasabadidea nothing this was a bad idea error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; ERROR __LINE__ 2 PHP is a scripting language ERROR __LINE__ 2 PHP is a scripting language 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); -5 41 51 -4 -5 41 51 -4 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{echo "$x";} 0 5 Error Nothing 0 5 Error Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "1";echo "$color1" + "$color2"; 1 red1 red 1 0 1 red1 red 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y == 2 || $y xor --$y) {echo $y;} no output 2 1 0 no output 2 1 0 ANSWER DOWNLOAD EXAMIANS APP