Question:$somevar = 15; function addit() { $GLOBALS["somevar"]++; } addit(); echo "Somevar is ".$GLOBALS["somevar"]; This returns the following 

A Somevar is 16 

B Somevar is 15 

C Somevar is 16 Somevar is 17 Somevar is 18 Somevar is 19 Somevar is 20 . . . 

D 16 Somevar is 16 

+ Answer
+ Report
Total Preview: 781

Copyright © 2024. Powered by Intellect Software Ltd