Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php kril to eng

public static function ruToEng($str)
    {

        $tr = array(
            "А" => "a",
            "Б" => "b",
            "В" => "v",
            "Г" => "g",
            "Д" => "d",
            "Е" => "e",
            "Ё" => "yo",
            "Ж" => "zh",
            "З" => "z",
            "И" => "i",
            "Й" => "j",
            "К" => "k",
            "Л" => "l",
            "М" => "m",
            "Н" => "n",
            "О" => "o",
            "П" => "p",
            "Р" => "r",
            "С" => "s",
            "Т" => "t",
            "У" => "u",
            "Ф" => "f",
            "Х" => "kh",
            "Ц" => "ts",
            "Ч" => "ch",
            "Ш" => "sh",
            "Щ" => "sch",
            "Ъ" => "",
            "Ы" => "y",
            "Ь" => "",
            "Э" => "e",
            "Ю" => "yu",
            "Я" => "ya",
            "а" => "a",
            "б" => "b",
            "в" => "v",
            "г" => "g",
            "д" => "d",
            "е" => "e",
            "ё" => "yo",
            "ж" => "zh",
            "з" => "z",
            "и" => "i",
            "й" => "j",
            "к" => "k",
            "л" => "l",
            "м" => "m",
            "н" => "n",
            "о" => "o",
            "п" => "p",
            "р" => "r",
            "с" => "s",
            "т" => "t",
            "у" => "u",
            "ф" => "f",
            "х" => "kh",
            "ц" => "ts",
            "ч" => "ch",
            "ш" => "sh",
            "щ" => "sch",
            "ъ" => "",
            "ы" => "y",
            "ь" => "",
            "э" => "e",
            "ю" => "yu",
            "я" => "ya",
            " " => "-",
            "." => "",
            "," => "",
            "/" => "-",
            ":" => "",
            ";" => "",
            "—" => "",
            "–" => "-"
        );
        return strtr($str, $tr);

    }
Comment

PREVIOUS NEXT
Code Example
Php :: laravel gigapay update employee 
Php :: randomize question in laravel 
Php :: Search WordPress with custom field 
Php :: get post thumbnail url 
Php :: if online php 
Php :: joomla redirect 
Php :: transaction cakephp 2 
Php :: stack once laravel 
Php :: AppHttpControllersValidator not found 
Php :: php replace method that takes infinite input 
Php :: randomstring php 
Php :: php directory listing 
Php :: php code to check if variable is null 
Php :: check if $_files is empty php 
Php :: send sms by php diafaan 
Php :: get parameter in php 
Php :: php check credit card expiration 
Php :: show date time with milliseconds php 
Php :: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; 
Php :: php echo arry 
Php :: cake tmp name 
Php :: php tags 
Php :: php limit words 
Php :: laravel subdays 
Php :: auto submit button php 
Php :: how to get all rows from a table except some rows in laravel 
Php :: how to write json to file in php 
Php :: laravel model increase the value by one 
Php :: laravel clear cache 
Php :: Your Composer dependencies require the following PHP extensions to be installed: curl 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =