PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; nothing red red red error nothing red red red error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; myObject::CONSTANT error test no output myObject::CONSTANT error test no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo 5 * 9 / 3 + 9; 24 0 3.7 3.85 24 0 3.7 3.85 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; red red green green redgreen red red green green redgreen ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} no output -1-1-1-1-1-1-1-1-1-1…infinitely error 00000000000000000000….infinitely no output -1-1-1-1-1-1-1-1-1-1…infinitely error 00000000000000000000….infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x=0; function fun() {echo $GLOBALS['x'];$GLOBALS['x']++;}fun();fun();fun(); 012 Error 123 000 012 Error 123 000 ANSWER DOWNLOAD EXAMIANS APP