Transliterate

Class to transliterate strings

since

1.7.0

note

Port of phputf8's utf8_accents_to_ascii()

Methods

utf8_latin_to_ascii

Returns strings transliterated from UTF-8 to Latin

utf8_latin_to_ascii(string $string, integer $case) : string
static
since

1.7.0

Arguments

$string

stringString to transliterate

$case

integerOptionally specify upper or lower case. Default to null.

Response

stringTransliterated string