PHP debug




```typeecho debug_backtrace()[1]['function'];```

> [How to get name of calling function/method in PHP?](https://stackoverflow.com/questions/2110732/how-to-get-name-of-calling-function-method-in-php)



