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!

Trap PHP parse errors via set_errorhandler()?

Status
Not open for further replies.

awaresoft

Programmer
Feb 16, 2002
373
DE
Is it possible to trap PHP parse errors via set_errorhandler(), a php.ini configuration directive, or some other means?

Or am I limited to turning off error output via php.ini (display_errors = Off)?

My goal is to present a professional interface to my visitors when a PHP page on my site raises a parse error.

Thank you,

Malcolm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top