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 ?$one = "Hello";$two = "World";echo "$one$two"; Hello $one$two Error HelloWorld Hello $one$two Error HelloWorld 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(); Error 000 012 123 Error 000 012 123 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'];$x++;}fun();fun();fun(); Error 012 000 Nothing Error 012 000 Nothing 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"; infinite loop error hello hihello infinite loop error hello hihello ANSWER DOWNLOAD EXAMIANS APP