Vidyalelo
PHP · Q63

Functions

Programming · PHP · question 63

Q63

What will be the output of the following PHP code ?

A.
3
B.
$num
Answer
C.
5
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
The function is defined as echo “num is treated as a string and not as a variable.