Sr. PHP Programmer Question:

What is the purpose of _CLASS_ constant?

Senior PHP Programmer Interview Question
Senior PHP Programmer Interview Question

Answer:

_CLASS_ − The class name. (Added in PHP 4.3.0) As of PHP 5 this constant returns the class name as it was declared (case-sensitive). In PHP 4 its value is always lowercased.


Previous QuestionNext Question
What is the purpose of _METHOD_ constant?What is the purpose of continue statement?