Vidyalelo
PHP · Q25

Functions

Programming · PHP · question 25

Q25

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.