Discussion Forum : Php Operators And Expressions
Question - What will be the output of the following PHP code ?$x = 0;function fun() {echo $GLOBALS['x'];$x++;}fun();fun();fun();
Options:
A .  000
B .  012
C .  Error
D .  Nothing
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *