1--TEST--
2Test nl_langinfo() function : basic functionality
3--SKIPIF--
4<?php
5if( substr(PHP_OS, 0, 3) == 'WIN'){
6  die('skip Not for Windows');
7}
8?>
9--FILE--
10<?php
11
12/* Prototype  : string nl_langinfo  ( int $item  )
13 * Description: Query language and locale information
14 * Source code: ext/standard/string.c
15*/
16
17echo "*** Testing nl_langinfo() : basic functionality ***\n";
18
19$original = setlocale(LC_ALL, 'C');
20
21var_dump(nl_langinfo(ABDAY_2));
22var_dump(nl_langinfo(DAY_4));
23var_dump(nl_langinfo(ABMON_7));
24var_dump(nl_langinfo(MON_4));
25var_dump(nl_langinfo(RADIXCHAR));
26
27setlocale(LC_ALL, $original);
28?>
29===DONE===
30--EXPECTF--
31*** Testing nl_langinfo() : basic functionality ***
32string(3) "Mon"
33string(9) "Wednesday"
34string(3) "Jul"
35string(5) "April"
36string(1) "."
37===DONE===
38