Re: Re: Fw: Identify which function called another

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there any way, I from one function can identify which other function called it, without parameter passing the name manually ?
I still question whether its correct to design a function which requires this. I thought the idea of encapsulating code inside a function is that its non-dependent/black-boxed.... still for every rule there is an exception!

Need it for my "identify why the hell this error occured, send email to the admins with full debug, server variables, time, pop that into the errorhandling database for cross referencing if it happened before".


Practically, yesterday, we spend a few hours tracing a special error occuring extremely seldom and ended up making some crappy debugging on a livesite.

Please don't post twice in an hour if you haven't yet received your answer. With that in mind, I have an answer for you. :-)
maybe Lars thought his post had disappeared into /dev/null, not altogether strange considering the fluctuating time delays in posts being sent out! then maybe he's an impatient s.o.b ;-)

Or maybe Lars has multiple email accounts, and realized he was sending from the wrong one forgetting he had authorized it beforehand.


/ Lars

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux