是否有办法利用掩饰器收集每颗 s子的痕迹?
我是这样说的:
foreach($profiler->getQueryProfiles() as $query) {
iii
Which is fine as I can get elapsed seconds, actual query etc but I want to know where this query was called from so I need the last 3 or 4 items in the stack trace.
任何想法?