RE: [PHP-DEV] Woah
| From: | Wez Furlong | Date: | Mon, 10 Sep 2001 20:40:03 +0000 |
| Subject: | RE: [PHP-DEV] Woah | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65688@lists.php.net to get a copy of this message | ||
On 08/09/01, "Cristopher Daniluk" <cris@dsnet.net> wrote:
> Again, as mentioned before, this is suitable:
> function _($string) { return gettext($string); }
Yes, but if you use gettext on any large site, you will be using it a
helluva lot; and this would slow it down.
I would adopt this if the Zend Engine could optimize this away to be
either an inline function call or dynamically create an alias.
However, since I have already used this in hundreds of lines of code,
as have others for a long time now, I think we should stop talking about
_(); it's not going to acheive anything - we can't change it because of
BC.
--Wez.