> > My problem is that not displaying anything in case of an error is a
> > completely unacceptable solution. I *MUST* return a valid
> > XML message in a predefined format. If not, I am violating the
> standard we are
> if (@foo_bar (42, 4711) == ERROR_CODE) {
> PrintXMLErrorMessage ();
I do not believe the above will work. When using the "@" symbol
in front of an expression, it makes it so that the error code that is
returned is "0". While writing my error handler class, in the
function that processes whatever error is triggered, I check to see
if the error code is "0" and if it is, I do nothing because there was
an "@" symbol prepended to the expression.
You can read more about this in the error handling section of the
documentation.
Chris
- [PHP] Fatal Errors and Error Handling Svein Roar Nilsen
- Re: [PHP] Fatal Errors and Error Handling Geir Eivind Mork
- [PHP] Building as an Apache module Hasan Niyaz
- Re: [PHP] Fatal Errors and Error Handling Svein Roar Nilsen
- Re: [PHP] Fatal Errors and Error Handling Geir Eivind Mork
- Re: [PHP] Fatal Errors and Error Handl... Svein Roar Nilsen
- Re: [PHP] Fatal Errors and Error Handling Christian Reiniger
- Re: [PHP] Fatal Errors and Error Handling Boget, Chris
- Re: [PHP] Fatal Errors and Error Handling Christian Reiniger
- [PHP] no fetch Wilbert Enserink
- RE: [PHP] Fatal Errors and Error Handling Boget, Chris
- Re: [PHP] Fatal Errors and Error Handling Christian Reiniger
- RE: [PHP] Fatal Errors and Error Handling Boget, Chris
- Re: [PHP] Fatal Errors and Error Handling Christian Reiniger
- Re: [PHP] Fatal Errors and Error Handling Svein Roar Nilsen
- Re: [PHP] Fatal Errors and Error Handl... Christian Reiniger

