• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • Transliterator::__construct()

    (PHP 5 >= 5.4.0, PHP 7, PECL intl >= 2.0.0)

    Private constructor to deny instantiation

    说明

    Transliterator::__construct(void)

    This method should not be called. Its only purpose is to deny instantiation with the new operator.

    Use the factory methods Transliterator::create() or Transliterator::createFromRules() instead.

    参数

    此函数没有参数。

    返回值

    This method should not be executed. If it is(e.g. through reflection), then its return value is unspecified.

    参见

    • Transliterator::create() Create a transliterator
    • Transliterator::createFromRules() Create transliterator from rules