error reporting issues

Posted by SunnyOne on Stack Overflow See other posts from Stack Overflow or by SunnyOne
Published on 2012-07-01T08:27:41Z Indexed on 2012/07/01 9:15 UTC
Read the original article Hit count: 169

Filed under:
|

I'm still entangled in error handling problems. After having read and tried lots of different scripts, I still do not have an overall insight on the problem.

I made a syntax error on purpose and get the following error message :

Parse error: syntax error, unexpected '{' in /home/directory/public_html/mypage.php on line 10

To understand how it work, as a first step, I'd like to remove this message(which I'am able to do) and replace it by a custom one.

How can I customize this message ?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about php

Related posts about error-reporting