How do I find the list of functions executed to build a page?

Posted by ashy_32bit on Stack Overflow See other posts from Stack Overflow or by ashy_32bit
Published on 2010-11-07T12:05:35Z Indexed on 2012/09/15 15:38 UTC
Read the original article Hit count: 145

Filed under:
|

I want the list of all functions executed to a certain point in code, somehow like debug_backtrace() but including functions not in the exact thread that leads to where debug_backtrace() is called. e.g :

a();

function a() { 
 b();     
 c(); 
 d(); 
}

function b() { }
function c() { }
function d() { print all_trace(); }

would produce :

a(), b(), c(), d()

and not

a(), d()

like debug_backtrace() would

© Stack Overflow or respective owner

Related posts about php

Related posts about stack-trace