Vidyalelo
PHP · Q58

Functions

Programming · PHP · question 58

Q58

What will be the output of the following PHP code ?

A.
100
Answer
B.
error
C.
75
D.
25

Answer: Option A

Solution

Answer: Option A
Solution:
z is a variable present within the $GLOBALS array, it is also accessible from outside the function!