略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: IntlDatePatternGenerator::create

2024-12-21

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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/intldatepatterngenerator.create.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3