Re: _("What does this do?")
| From: | Marek Kilimajer | Date: | Mon, 12 Jan 2004 17:52:19 +0000 |
| Subject: | Re: _("What does this do?") | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174353@lists.php.net to get a copy of this message | ||
It's an alias to this function:
http://sk2.php.net/manual/en/function.gettext.php
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