Пример #1
0
 function filter($text)
 {
     $text = trim(preg_replace('/(\\s| )/', ' ', ucfirst($text)));
     $text = Utf8::to_unicode($text);
     $text = Utf8::to_iso8859($text);
     return $text;
 }