哈希空间 Ctrl + F 进行搜索
首页 php手册中文版 CSS中文手册 哈希文档 Markdown在线工具

IntlDatePatternGenerator::create

IntlDatePatternGenerator::__construct

(PHP 8 >= 8.1.0)

IntlDatePatternGenerator::create -- IntlDatePatternGenerator::__constructCreates a new IntlDatePatternGenerator instance

说明

public static IntlDatePatternGenerator::create(?string $locale = null): ?IntlDatePatternGenerator
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.

打开 哈希空间 微信小程序中查看更佳