Search Results
Parameters ¶ rules The rules as defined in Transform Rules Syntax of UTS #35: Unicode LDML. direction The direction, defaults to Transliterator::FORWARD. May also be set to Transliterator::REVERSE.
Programmation de sites internet en Html5 et Css3 en respectant les standards du web par le W3C. Développement web réalisé par notre équipe de passionnés. Docs PHP Classe Transliterator createFromRules
transliterator_create_from_rules (string$rules, int$direction = Transliterator::FORWARD): ? Transliterator Creates a Transliterator from rules.
Returns a Transliterator object constructed from the given rule string. This will be a rule-based Transliterator, if the rule string contains only rules, or a compound Transliterator, if it contains ID blocks, or a null Transliterator, if it contains ID blocks which parse as empty for the given direction.
RuleBasedTransliterator is a transliterator built from a set of rules as defined for Transliterator.createFromRules(String, String, int). See the class Transliterator documentation for the rule syntax.
English PHP documentation. Contribute to php/doc-en development by creating an account on GitHub.
Simple usage example of `Transliterator::createFromRules ()`. The Transliterator::createFromRules function in PHP is used to create a transliterator object based on a set of custom transliteration rules. Transliteration is the process of converting characters from one script to another script, typically used for converting non-latin characters to their phonetic equivalents.
