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

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

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