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
12echo "*** Testing nl_langinfo() : basic functionality ***\n";
13
14$original = setlocale(LC_ALL, 'C');
15
16var_dump(nl_langinfo(ABDAY_2));
17var_dump(nl_langinfo(DAY_4));
18var_dump(nl_langinfo(ABMON_7));
19var_dump(nl_langinfo(MON_4));
20var_dump(nl_langinfo(RADIXCHAR));
21
22setlocale(LC_ALL, $original);
23?>
24--EXPECT--
25*** Testing nl_langinfo() : basic functionality ***
26string(3) "Mon"
27string(9) "Wednesday"
28string(3) "Jul"
29string(5) "April"
30string(1) "."
31