Q41
What will be the output of the following PHP code ?
A.
test
B.
error
AnswerC.
myObject::CONSTANT
D.
no output
Answer: Option B
Solution
Answer: Option B
Solution:
Class constants cannot be defined outside class.