mirror of
https://github.com/php/php-src.git
synced 2026-03-27 17:52:16 +01:00
The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
26 lines
423 B
PHP
26 lines
423 B
PHP
--TEST--
|
|
Gettext basic test
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded("gettext")) {
|
|
die("skip\n");
|
|
}
|
|
if (!setlocale(LC_ALL, 'fi_FI')) {
|
|
die("skip fi_FI locale not supported.");
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
chdir(dirname(__FILE__));
|
|
setlocale(LC_ALL, 'fi_FI');
|
|
bindtextdomain ("messages", "./locale");
|
|
textdomain ("messages");
|
|
echo gettext("Basic test"), "\n";
|
|
echo _("Basic test"), "\n";
|
|
|
|
?>
|
|
--EXPECT--
|
|
Perustesti
|
|
Perustesti
|