Maxim (and anyone else who is interested) Shall we try to get a patch for this working then? I'm thinking perhaps starting off with an XML file defining the error messages, which is converted to a cdb for actual use.
Anyone else game? John >-----Original Message----- >From: Sascha Schumann [mailto:[EMAIL PROTECTED]] >Sent: Monday, November 25, 2002 11:29 PM >To: Shane Caraveo >Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Maxim Maletsky'; >'PHP Developers Mailing List' >Subject: Re: [PHP-DEV] Error Codes, Langs, etc > > >> cats or gettext comes to mind. > > Neither are usable, though, because PHP would need to support > multiple concurrent message catalogues on a per-thread base. > gettext/catgets associate exactly one language with each > process through the use of environment variables, so that > they cannot be used in a multi-threaded server. > > A mechanism based on the bundled cdb, for example, would be > superior in terms of speed, thread-safeness, and portability. > > - Sascha > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php