Re: [Hampshire] [OT] Can anyone help me with some PHP?

Αρχική Σελίδα

Reply to this message
Συντάκτης: John Paul Wallington
Ημερομηνία:  
Προς: lug, Hampshire LUG Discussion List
Υ/ο: hampshire
Αντικείμενο: Re: [Hampshire] [OT] Can anyone help me with some PHP?
I'm trying to put a PHP app on a server, and it's barfing. The line in
question is :-

$employees[0] = _('None');

The underscore is being seen as an undefined function.

Knowing nothing about PHP, this has defeated me - is this a builtin?
Should it be defined somewhere? Google doesn't say much of any use when
you try searching for punctuation...

I don't know anything much about PHP, but that looks like gettext
native language support.