Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stack trace, traceback or whatever you want to call it

Status
Not open for further replies.

ericbrunson

Technical User
Jan 9, 2004
2,092
US
I'm using PHP 4.1 and I haven't been able to find any error reporting mechanism that will show me the calling stack up to where an error is thrown. I've seen something in the PEAR docs where you can build your own stack trace, but that would take me days to add to all my code.

Isn't there just a simple function or error mechanism to show me the calling hierarchy to where an error occurs?

Thanks,
e.

P.S.
I know it's available in PHP 5.
 
I didn't think so. I've been spoiled by Python, which is such a better language.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top