Vidyalelo
PHP · Q56

Functions

Programming · PHP · question 56

Q56

What will be the output of the following PHP code ?

A.
Error
B.
10
C.
No Output
Answer
D.
None of the Mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
$var is not global and hence is not available for one().