mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
16 lines
294 B
PHP
16 lines
294 B
PHP
--TEST--
|
|
GitHub #12943 IntlDateFormatter::locale accepting "C".
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
|
|
$fmt = new IntlDateFormatter(
|
|
'C',
|
|
IntlDateFormatter::FULL,
|
|
IntlDateFormatter::FULL,
|
|
);
|
|
var_dump($fmt->getLocale(ULOC_VALID_LOCALE));
|
|
--EXPECTF--
|
|
string(%d) "%s"
|