Search Results
Preface Function Reference Human Language and Character Encoding Support intl Transliterator Change language:
Class synopsis Transliterator { /* Constants */ const integer FORWARD = 0 ; const integer REVERSE = 1 ;
Aug 16, 2009 · 7 If you are stuck with an development&release environment that doesn't support PHP 5.4 or newer, you should either use or a custom Transliteration library. In case of iconv, I find it extremely unhelpful especially using it on Arabic or Cyrillic alphabets. I would go for a PHP 5.4 built-in Transliteration class or a custom Transliteration class.
The PHP Interpreter. Contribute to php/php-src development by creating an account on GitHub.
Transliterator::createFromRules — Create transliterator from rules Transliterator::createInverse — Create an inverse transliterator Transliterator::getErrorCode — Get last error code Transliterator::getErrorMessage — Get last error message Transliterator::listIDs — Get transliterator IDs Transliterator::transliterate — Transliterate ...
publicstatic createFromRules ( string$rules [, string$direction ] ) : Transliterator public createInverse ( void ) : Transliterator public getErrorCode ( void ) : int public getErrorMessage ( void ) : string publicstatic listIDs ( void ) : array public transliterate ( string$subject [, int$start [, int$end ]] ) : string }
Parameters transliterator In the procedural version, either a Transliterator or a string from which a Transliterator can be built. string The string to be transformed. start The start index (in UTF-16 code units) from which the string will start to be transformed, inclusive. Indexing starts at 0. The text before will be left as is. end The end index (in UTF-16 code units) until which the ...
