xref: /PHP-8.2/ext/intl/tests/gh12943.phpt (revision 6a447e74)
1--TEST--
2GitHub #12943 IntlDateFormatter::locale accepting "C".
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7
8$fmt = new IntlDateFormatter(
9        'C',
10        IntlDateFormatter::FULL,
11        IntlDateFormatter::FULL,
12        );
13var_dump($fmt->getLocale(ULOC_VALID_LOCALE));
14--EXPECTF--
15string(%d) "%s"
16