On 11/09/01, "Chuck Hagenbuch" <[EMAIL PROTECTED]> wrote:
> would be even happier if calling alias_function('gettext', '_') would simply
> do nothing if _() already pointed to gettext(), but I won't quibble about
> the function_exists() check.
What about a language construct:
function _ = gettext;
If we had this implemented during the compile phase of the engine,
wouldn't it shave a few cycles off the execution time?
OK, it looks a bit funny that way, so how about making
alias_function(_, gettext);
a language constuct (or with quotes around the args if you must).
Just wondering...
--Wez.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]