NYCPHP Meetup

NYPHP.org

[nycphp-talk] [underscore-left-parens] Operator: what is it?

Sterling Hughes sterling at bumblebury.com
Thu Mar 20 22:47:17 EST 2003


On Thu, 2003-03-20 at 19:34, George Webb wrote:
> Hi.
> 
>         Does anyone know what the _( construct (or is it an operator?)
> does?  I see it in the Horde/IMP distribution, for example:
> 
>         $a = array (
>                 'name' => _("Web Mail")
>         )
> 
> 
> It doesn't appear to do anything except look suspicious.  Thanks
> for any _('clues') about this thing.
> 

its an alias for the gettext() function.

-Sterling

> 
> Sincerely, George.
> 
> George Webb
> gw.nyphp at gwprogramming.com
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
-- 
"First they ignore you, then they laugh at you,  
 then they fight you, then you win."  
    - Gandhi




More information about the talk mailing list