PHP Operators and Expressions What will be the output of the following PHP code ?define("VAR_NAME","test");${VAR_NAME} = "value";echo VAR_NAME;echo ${VAR_NAME}; testtest testvalue test error, constant value cannot be changed testtest testvalue test error, constant value cannot be changed ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "Hello World" Hello world in italics Error Nothing Hello world Hello world in italics Error Nothing Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 1;$y = 2;if (++$x == $y++) {echo "true ", $y, $x;} true 22 no output true 23 true 33 true 22 no output true 23 true 33 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;echo ++$a;echo $a++;echo $a;echo ++$a; 11111212 11121213 11111213 11111112 11111212 11121213 11111213 11111112 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";$color = "green";echo "$color"; green error red red green green error red red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; echo “Hello world” Error Hello world echo Hello world echo “Hello world” Error Hello world echo Hello world ANSWER DOWNLOAD EXAMIANS APP