1--TEST--
2Gettext basic test
3--EXTENSIONS--
4gettext
5--SKIPIF--
6<?php
7
8    if (!setlocale(LC_ALL, 'fi_FI')) {
9        die("skip fi_FI locale not supported.");
10    }
11?>
12--FILE--
13<?php
14
15chdir(__DIR__);
16putenv('LC_ALL=fi_FI');
17setlocale(LC_ALL, 'fi_FI');
18bindtextdomain ("messages", "./locale");
19textdomain ("messages");
20echo gettext("Basic test"), "\n";
21echo _("Basic test"), "\n";
22
23?>
24--EXPECT--
25Perustesti
26Perustesti
27