Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 214 Bytes

check_from_where_some_method_has_been_called.md

File metadata and controls

7 lines (6 loc) · 214 Bytes

Check from where some method has been called

foreach (debug_backtrace() as $debug) {              
   echo "{$debug['file']} on line {$debug['line']} is calling function: {$debug['function']}<br>";
}