PHP 8.1.15 Released!

IntlDatePatternGenerator::create

IntlDatePatternGenerator::__construct

(PHP 8 >= 8.1.0)

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

Description

public static IntlDatePatternGenerator::create(?string $locale = null): ?IntlDatePatternGenerator
public IntlDatePatternGenerator::__construct(?string $locale = null)

Creates a new IntlDatePatternGenerator instance.

Liste de paramètres

locale

The locale. If null is passed, uses the ini setting intl.default_locale.

Valeurs de retour

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.
To Top