PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; PHP is a scripting language __LINE__ ERROR 2 PHP is a scripting language __LINE__ ERROR 2 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(); 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 ?$i = 0;while ($i = 10) {print "hi";}print "hello"; hello error hihello infinite loop hello error hihello infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?static $x = 0;function fun() {echo $x;$x++;}fun();fun();fun(); 012 123 Error Nothing 012 123 Error Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {static $x = 0;echo $x;$x++;}fun();fun();fun(); Error 012 123 111 Error 012 123 111 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. none of above 46.3 46 46.2999999 none of above 46.3 46 46.2999999 ANSWER DOWNLOAD EXAMIANS APP