Transliterator::createFromRules

transliterator_create_from_rules

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

Transliterator::createFromRules -- transliterator_create_from_rulesCreate transliterator from rules

˵��

���������

public static Transliterator::createFromRules ( string $rules [, string $direction ] ) : Transliterator

���̻����

transliterator_create_from_rules ( string $id [, int $direction ] ) : Transliterator

Creates a Transliterator from rules.

Warning

��������δ��д�ĵ������в����б�

����

rules

The rules.

direction

The direction, defaults to >Transliterator::FORWARD. May also be set to Transliterator::REVERSE.

����ֵ

Returns a Transliterator object on success, or NULL on failure.

�μ�