在线文档教程
PHP
Internationalization

IntlCalendar::__construct

IntlCalendar::__construct

(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1)

IntlCalendar::__construct — Private constructor for disallowing instantiation

Description

private IntlCalendar::__construct ( void )

A private constructor for disallowing instantiation with the new operator.

Call IntlCalendar::createInstance() instead.

Parameters

This function has no parameters.

Return Values

No value is returned.

← IntlCalendar::clear

IntlCalendar::createInstance →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/intlcalendar.construct.php