Sr. PHP Programmer Question:
Download Questions PDF

What is the purpose of _CLASS_ constant?

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.

Download Senior PHP Programmer Interview Questions And Answers PDF

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