Sr. PHP Programmer Question:

Download Job Interview Questions and Answers PDF

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.

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?