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(); 123 Error 012 000 123 Error 012 000 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "red";echo "$color1" + "$color2"; red green 0 1 redgreen red green 0 1 redgreen ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?one = 1;two = 2;three = 3;four = 4;echo "one / two + three / four"; Error 1.25 0.05 0.75 Error 1.25 0.05 0.75 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 0;$var1 = ($var1 + 5)++;echo $var1; 6 5 7 error 6 5 7 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions In PHP the integer 45 is stored exactly as 45. The floating point number 46.3 could be stored as. 46 none of above 46.2999999 46.3 46 none of above 46.2999999 46.3 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";} result is 1 no output error result is true result is 1 no output error result is true ANSWER DOWNLOAD EXAMIANS APP