PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = red;$color2 = green;echo "$color1"."$color2"; red error green red green red error green red green ANSWER DOWNLOAD EXAMIANS APP
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 test testvalue error, constant value cannot be changed testtest test testvalue error, constant value cannot be changed 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 red 1 red1 0 1 red 1 red1 0 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” echo Hello world Error Hello world echo “Hello world” echo Hello world Error Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 1;$b = 3;$d = $a++ + ++$b;echo $d; error 5 3 4 error 5 3 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$j = 0;if ($i && ($j = $i + 10)) {echo "true";}echo $j; true10 true0 10 0 true10 true0 10 0 ANSWER DOWNLOAD EXAMIANS APP