Str::ascii

Posted on November 25, 2016

Transliterate a UTF-8 value to ASCII.

We use a simple phrase in greek and the ascii() method transforms every char in ascii.

Example usage


$str = Str::ascii('Με λένε Μάριο!');

// Me lene Mario!

Parameters

string $value

Return Value

string

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *