Php/docs/transliterator.construct
来自菜鸟教程
Transliterator::__construct
(PHP 5 >= 5.4.0, PHP 7, PECL intl >= 2.0.0)
Transliterator::__construct — Private constructor to deny instantiation
说明
private Transliterator::__construct ( )
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