You'll have to use debug_backtrace for this or else always pass the line (with __LINE__) to the function.
Artefacto
2010-07-09 18:27:06
You'll have to use debug_backtrace for this or else always pass the line (with __LINE__) to the function.
Have you seen debug_backtrace()? I'm not sure of its overhead though.