commit | author | age | ||
8bd4d9 | 1 | <?php |
JK | 2 | class BotLegacyEnd extends Exception {} |
3 | ||
4 | class funcs { | |
5 | static function end() { | |
6 | throw new BotLegacyEnd(); | |
7 | } | |
8 | ||
9 | static function utfToAscii($utf) { | |
10 | $utf = trim(str_replace(' ', ' ', $utf)); | |
11 | return strtolower(iconv('utf-8', 'ascii//TRANSLIT', trim($utf))); | |
12 | } | |
13 | } | |
14 | ?> |