<?php
error_reporting();
function palindromes($names){
$pal = '';
foreach($names as $name){
$pal .= ($name == implode(array_reverse(preg_split('//u', $name))) ? 'T' : 'F');
}
return $pal;
}
palindromes(array ('ротор'));
?>
Или я чтото путаю?