1.

What will be the output of the following PHP code ? <?php $x = 5; $y = 10; function fun() { $y = $GLOBALS['x'] + $GLOBALS['y']; } fun(); echo $y; ?>

A. 5
B. 10
C. 15
D. Error
Answer» C. 15


Discussion

No Comment Found