Knowing which class and method had been called in PHP

Similar to the __FUNCTION__ call it is possible to make a call to __METHOD__ built-in function. It will return both name of the class and name of the function. Personally I don't comprehend this.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator