Is it possible to have a function automatically contain the line number and the file that the function was CALLED in,
as if i call __LINE__ or __F
__LINE__
__F
It's so late but maybe can be useful, you can use get_called_class(), for the name of class who is called, and do not pass like a parameter insted of CLASS.