PHP中调试函数debug_backtrace的使用示例代码 前言如果我们想知道某个方法被谁调用了?debug_backtrace可以解决。debug_backtrace()可以打印 backtrace