• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/hello-php/
1#!@PHP@ -q
2<?
3  // Example for use of GNU gettext.
4  // This file is in the public domain.
5  //
6  // Source code of the PHP program.
7
8  setlocale (LC_ALL, "");
9  textdomain ("hello-php");
10  bindtextdomain ("hello-php", "@localedir@");
11
12  echo _("Hello, world!");
13  echo "\n";
14  echo printf (_("This program is running as process number %d."),
15               posix_getpid());
16  echo "\n";
17?>
18