echo strrev("String"); //gnirtS
echo strrev("Строка"); //�коЀтѡ�
), то можно поиграть с кодировкой:function str_reverse($string){
return iconv('utf-16be', 'utf-8', strrev(
iconv('utf-8', 'utf-16le', $string)
));
}
function str_reverse($string){
return implode("", array_reverse(
str_split($string)
));
}
function utf8_strrev($str){
preg_match_all('/./us', $str, $ar);
return join('',array_reverse($ar[0]));
}