I\'m looking for a way to print the call stack in PHP.
Bonus points if the function flushes the IO buffer.
You might want to look into debug_backtrace, or perhaps debug_print_backtrace.