File and line that called a function?

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

 



Is there a way to know which file and line called a function youo are in? I want to create an error function that can tell me which file and line called it. I know __FILE__ and __LINE__ but they will return the file and line that my error function is in, and not the originators.

Thanks in advance,


--
Adrian Madrid
HyperX Inc. Mobile: 801.815.1870
Office: 801.566.0670 aemadrid@xxxxxxxxxxxxxxx www.hyperxmedia.com


9000 S. 45 W.
Sandy, UT 84070



--
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