Sr. PHP Programmer Question:

Download Job Interview Questions and Answers PDF

What is the purpose of _METHOD_ constant?

Senior PHP Programmer Interview Question
Senior PHP Programmer Interview Question

Answer:

_METHOD_ − The class method name. (Added in PHP 5.0.0) The method name is returned as it was declared (case-sensitive).

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
Can you assign the default values to a function parameters?What is the purpose of _CLASS_ constant?