I\'m looking for a way to print the call stack in PHP.
Bonus points if the function flushes the IO buffer.
Strange that noone posted this way:
debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
This actually prints backtrace without the garbage - just what method was called and where.