Page 2 of 2

Re: @ (at) signs in php and still getting errors. (php newbie)

Posted: Thu Jan 08, 2009 12:40 pm
by Eran
You can not trap fatal errors, since by definition they kill the script (hence fatal). Any error handling set in code (including the @ operator) are a part of the script and will be killed as well. In short, try to avoid fatal errors.

Re: @ (at) signs in php and still getting errors. (php newbie)

Posted: Thu Jan 08, 2009 4:27 pm
by Syntac
To clarify what pytrin just said: The @ symbol will stop a fatal error from printing the message, but it won't stop it from being fatal.