Re: Woah

From: Date: Sat, 08 Sep 2001 02:23:34 +0000
Subject: Re: Woah
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65410@lists.php.net to get a copy of this message
> At 05:16 08-09-01, Chuck Hagenbuch wrote: > >Quoting Zeev Suraski <zeev@zend.com>: > > > > > Why the heck do we have: > > > > > > PHP_FALIAS(_, gettext, NULL) > > > > > > in ext/gettext/gettext.c > > > >It's a standard alias in the c library as well: > > >>http://www.gnu.org/manual/gettext/html_mono/gettext.html#SEC15 > > So I heard, but it's extremely un-PHPish and obscure. Having an underscore as a function name is pretty weird in any language. But it is also extremely useful. I have reams and reams of PHP code that has _('blah blah blal') in it. When you internationalize a large site, typing gettext() thousands of times does get rather old very quickly. -Rasmus

« previous php.dev (#65410) next »