Vidyalelo
PHP · Q68

Functions

Programming · PHP · question 68

Q68

What will be the output of the following PHP code ?

A.
Welcome to Narnia
Answer
B.
greeting
C.
GREETING
D.
ERROR

Answer: Option A

Solution

Answer: Option A
Solution:
By default constants are case sensitive. But the third parameter in define(), if set to true, makes constants case insensitive.