Re: _("What does this do?")

From: Date: Mon, 12 Jan 2004 17:45:03 +0000
Subject: Re: _("What does this do?")
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174354@lists.php.net to get a copy of this message
This is the equivalent to the function gettext http://ca3.php.net/manual/en/function.gettext.php Yann Larrivee http://conf.phpquebec.com http://protonicdesign.com On Mon, 2004-01-12 at 12:42, Kelly Hallman wrote: > I just ran across this syntax in someone else's code. > I can't detect any difference between these two expressions: > > _("String value") and "String value" > > Is there a difference? What does _("xyz") do, and is it documented > anywhere? I'm curious why this code (SquirrelMail) uses it in one place, > but not another. What say you, PHP gurus? Gotta love the syntactic sugar! > > -- > Kelly Hallman > // Ultrafancy -- Yann Larrivee <yannl@istop.com>

« previous php.general (#174354) next »