Zend
200-550 · Question #107
What is the result of the following code? class T { const A = 42 + 1; } echo T::A;
The correct answer is C. Parse error. See the full explanation below for the reasoning.
Question
What is the result of the following code? class T { const A = 42 + 1; } echo T::A;
Options
- A42
- B43
- CParse error
How the community answered
(25 responses)- A8% (2)
- B8% (2)
- C84% (21)
Community Discussion
No community discussion yet for this question.