On Thu, Feb 28, 2008 at 5:06 AM, Jochem Maas <jochem@xxxxxxxxxxxxx> wrote: > Daniel Brown schreef: > > On Wed, Feb 27, 2008 at 1:56 PM, Richard S. Crawford > > <rscrawford@xxxxxxxxxxxx> wrote: > > [snip!] > >> I know that I could pass the name of the function as a parameter to the > >> error() function (e.g. error("bad_function","This is dumb")) but I'd rather > >> keep it simpler than that. > >> > >> Is there a way to do this? > > > > Not without a lower-level stack trace utility like xdebug, as far > > huh? what about debug_backtrace() ... contains plenty of info, including > function names of everything in the stack. of course something like xdebug > can take it to a whole new level. You're right. Forgot about that function. :-\ -- </Dan> Daniel P. Brown Senior Unix Geek <? while(1) { $me = $mind--; sleep(86400); } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php