/
niceSOFT
/
gettext
Обзор
Документация
Войти
/
niceSOFT
/
gettext
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
gettext-tools/examples/hello-php/hello.php
16 строк
374 B
Bruno Haible
examples: hello-php: Fix runtime error.
18 окт 2018, 22:16
18 окт 2018, 22:16
86c7e74
Код
Авторство
О чём код?
#!@PHP@ -q <?php // Example for use of GNU gettext. // This file is in the public domain. // // Source code of the PHP program. setlocale (LC_ALL, ""); textdomain ("hello-php"); bindtextdomain ("hello-php", "@localedir@"); echo _("Hello, world!"); echo "\n"; printf (_("This program is running as process number %d."), posix_getpid()); echo "\n"; ?>