Next: Pike, Previous: Perl, Up: Individual Programming Languages [Contents][Index]
php
php
php
, php3
, php4
"abc"
, 'abc'
,
<<<EOT
, <<<"EOT"
, <<<'EOT'
_("abc")
gettext
, dgettext
, dcgettext
,
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
.