RE: [PHP] _() ???
| From: | Rasmus Lerdorf | Date: | Tue, 28 May 2002 22:51:26 +0000 |
| Subject: | RE: [PHP] _() ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99586@lists.php.net to get a copy of this message | ||
No, the _() function is the standard gettext() alias. See
http://php.net/gettext
-Rasmus
On Tue, 28 May 2002, John Holmes wrote:
> > What exactly does the underscore in _("Select your preferred
> language:")
> > mean?
>
> It doesn't do anything. It's just a naming convention the author chose
> to use. Usually when you name a function like that, it's meant to be
> "private" or shouldn't be called directly. Other functions will use it,
> but you shouldn't use it directly in your code. Of course, nothing is
> stopping you from doing that though...
>
> ---John Holmes...
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>