it worked like a charm for me. This can be resolved from the conf file of apache or php i think. But as it solved for me, i didn't look for that solution.
This little piece of code will help you to get the function name programatically. This is very helpful when you are implementing the debug...