PHP - Manual: IntlDatePatternGenerator::create
2024-12-21
(PHP 8 >= 8.1.0)
IntlDatePatternGenerator::create -- IntlDatePatternGenerator::__construct — Creates a new IntlDatePatternGenerator instance
$locale
= null
)Creates a new IntlDatePatternGenerator instance.
locale
The locale.
If null
is passed, uses the ini setting intl.default_locale.
Returns an IntlDatePatternGenerator instance on success, or null
on failure.
官方地址:https://www.php.net/manual/en/intldatepatterngenerator.create.php