Re: [PATCH] Redirect on Error
| From: | Andrew Brampton | Date: | Tue, 26 Nov 2002 01:44:28 +0000 |
| Subject: | Re: [PATCH] Redirect on Error | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91603@lists.php.net to get a copy of this message | ||
I don't think I've ever said anything on this list, but I do like the idea
of adding error codes... Even if its just as small as writing (255).
So +1 on error codes (that's if my vote counts)
Eventually people can translate all the error codes to different languages,
but until then just stick with the english error message.
I think the benefits will outweigh the draw backs in the long run.
Andrew
----- Original Message -----
From: "Maxim Maletsky" <maxim@php.net>
> php_error(225);
>
> whereas 255 is defined some string in many languages appering like this:
>
> Warning (255): Undefined Variable.
>