IntlDatePatternGenerator::create
IntlDatePatternGenerator::__construct
(PHP 8 >= 8.1.0)
IntlDatePatternGenerator::create -- IntlDatePatternGenerator::__construct — Creates a new IntlDatePatternGenerator instance
Description
public static function IntlDatePatternGenerator::create(?string
$locale = null): ?IntlDatePatternGeneratorCreates a new IntlDatePatternGenerator instance.
Parameters
locale-
The locale. If
nullis passed, uses the ini setting intl.default_locale.
Return Values
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.