blob: bb7f9089b1a79d67f00cc4493697c145dbf0e116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!@PHP@ -q
<?
// Example for use of GNU gettext.
// Copyright (C) 2003 Free Software Foundation, Inc.
// 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";
echo printf (_("This program is running as process number %d."),
posix_getpid());
echo "\n";
?>
|