- strtr: documentation ( source)
<?php
$str = 'Аl(ОН)3х12Н2О';
$trans = array(
'А' => 'A', 'В' => 'B', 'С' => 'C', 'Е' => 'E', 'Н' => 'H',
'К' => 'K', 'М' => 'M', 'О' => 'O', 'Р' => 'P', 'Т' => 'T', 'У' => 'Y',
'а' => 'a', 'с' => 'c', 'е' => 'e', 'о' => 'o', 'р' => 'p', 'у' => 'y'
);
echo strtr($str, $trans);