For debugging is there a way to globally configure php5 to output the names of all user-defined functions as it executes them?
<p>I'm looking for a global configuration setting <em>or</em> a way to <em>globally</em> instruct php5 to print out the names of user-defined functions when any user-defined function executes. </p>

<p>The tricky part is I'd like this to be something I could set in one place, not something that I'd have to manually add to each function.</p>

<p>The goal is to be able to look at a page's output, see an area of concern, enable this mystery mode I'm asking about, refresh the page and instantly see that the area of concern was output by a given php function named "whatever()".</p>

<p>Thanks for any ideas!</p>

<p>(note: I realize this would make a mess of your average php page's output - ie the html would render funny with a bunch of function names suddenly appearing everywhere. That's ok as I would only use this in development/debugging.)</p>
