PHP Operators and Expressions What will be the output of the following PHP code ?$4four = 4;$3three = 3;$2two = 2;echo $4four + $3three / $2two - 1; 3.5 Error 7 4.5 3.5 Error 7 4.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y <> ($y != $y++)) {echo $y;} 2 no output 0 1 2 no output 0 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$GLOBALS['y'] = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; 10 5 Error 15 10 5 Error 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = "$winner";$b = "$looser";echo $a, $b; $looser $winner$looser $looser \ $looser $winner$looser $looser \ ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";$color = "green";echo "$color"; red green green red error red green green 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; no output myObject::CONSTANT test error no output myObject::CONSTANT test error ANSWER DOWNLOAD EXAMIANS APP