"Ilia A." <[EMAIL PROTECTED]> wrote... :
> On November 28, 2002 12:56 pm, Maxim Maletsky wrote: > > Shall we still consider introducing error codes to PHP? IMO, it does not > > represent any enormous maintenance increase while has some positive > > points. > > Do you have an effecient manner in which to implement the introduction of > error codes? I believe that it could be done gradually like the way docref was introduced. It might also be an alternative function of something similar. One important things will remain is the naming convention for errors - allocating the numbers in a logical ways. In my first thoughts I'd propose this format: PHP1234 where 12 means the extension and 34 is the error. This way, one could check things by parsing error strings or by calling some built in function which returns the extension name for the error, for instance. I think there could be many utilities for it. -- Maxim Maletsky [EMAIL PROTECTED] -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php