IntlDatePatternGenerator::create
IntlDatePatternGenerator::__construct
(PHP 8 >= 8.1.0)
IntlDatePatternGenerator::create -- IntlDatePatternGenerator::__construct — Creates a new IntlDatePatternGenerator instance
说明
public IntlDatePatternGenerator::__construct(string
$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.
add a note
User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/intldatepatterngenerator.create.php