New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Zend PHP 5 Certification 200-500 Question # 59 Topic 6 Discussion

Zend PHP 5 Certification 200-500 Question # 59 Topic 6 Discussion

200-500 Exam Topic 6 Question 59 Discussion:
Question #: 59
Topic #: 6

How can the constant defined below be accessed from within PHP?

class myClass {

const FOO = 'BAR';

}


A.

myClass::$FOO


B.

myClass::$$FOO


C.

myClass::FOO


D.

myClass::foo


E.

$foo::myClass


Get Premium 200-500 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.