&lt;?phpclass myObject &#123; &#125;define&#40;'myObject::CONSTANT', 'test'&#41;;echo myObject::CONSTANT; ?&gt;
A. test
B. ERROR
C. myObject::CONSTANT
D. no output
Answer:A
&lt;?phpclass myObject &#123; &#125;define&#40;'myObject::CONSTANT', 'test'&#41;;echo myObject::CONSTANT; ?&gt;
A. test B. ERROR C. myObject::CONSTANT D. no output
Explanation: Class constants cannot be defined outside class.