Re: [PATCH] Redirect on Error

From: Date: Tue, 26 Nov 2002 10:56:10 +0000
Subject: Re: [PATCH] Redirect on Error
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-91699@lists.php.net to get a copy of this message
At 11:55 26.11.2002, Maxim Maletsky wrote:
Derick Rethans <derick@php.net> wrote... : On Tue, 26 Nov 2002, Maxim Maletsky wrote:
This can be easily avoided. When I have to report an Oracle error in Italian on an English page, I simply type the error code. We need to introduce error codes in PHP, that would really solve the trouble.
and it would make us enter the maintainers-hell.... It's not really that much of hell. just adding an English comment like: /* Fail if this data no good */ php_error(354, bad_data);
Tht is silly because there is no connection between 354 and the comment above. And then what am i presented if i do not have a message file. And a greater problem would be startup errors - those that occur before the message file could be loaded.
Can save the whole thing. Naming conventions and coding style used commonly can be the solution. -- Maxim Maletsky maxim@php.net -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#91699) next »