1--TEST--
2Bug #68636 (setlocale no longer returns current value per category).
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) == 'WIN') {
6    die('skip Not valid for windows');
7}
8if (setlocale(LC_ALL, "en_US.UTF8") !== "en_US.UTF8") {
9    die('skip available locales not usable');
10}
11?>
12--FILE--
13<?php
14var_dump(setlocale(LC_TIME, 'en_US.UTF8'));
15var_dump(setlocale(LC_NUMERIC, 'C'));
16var_dump(setlocale(LC_TIME, 0));
17?>
18--EXPECT--
19string(10) "en_US.UTF8"
20string(1) "C"
21string(10) "en_US.UTF8"
22