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