Next: Pike, Previous: Perl, Up: Individual Programming Languages [Contents][Index]
mod_php4, mod_php4-core, phpdoc
php
php
, php3
, php4
"abc"
, 'abc'
_("abc")
gettext
, dgettext
, dcgettext
; starting with PHP 4.2.0
also ngettext
, dngettext
, dcngettext
textdomain
function
bindtextdomain
function
Programmer must call setlocale (LC_ALL, "")
—
use
xgettext
printf "%2\$d %1\$d"
On platforms without gettext, the functions are not available.
—
An example is available in the examples directory: hello-php
.