Vidyalelo
PHP · Q10

Functions

Programming · PHP · question 10

Q10

What will be the output of the following PHP code?

A.
Error
B.
$msg
C.
0
D.
Will this work
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
It is possible to call a function using a variable which stores the function name.