src/Parser/ServerParse.php
public static function describeCheck(string $stmt, int $offset)
    {
        //desc
        if (strlen($stmt) > $offset + 4) {
            $c1 = $stmt[++$offset];
            $c2 = $stmt[++$offset];
            $c3 = $stmt[++$offset];
            $c4 = $stmt[++$offset];
            if (($c1 == 'E' || $c1 == 'e') && ($c2 == 'S' || $c2 == 's')
                && ($c3 == 'C' || $c3 == 'c')
                && ($c4 == ' ' || $c4 == '\t' || $c4 == '\r' || $c4 == '\n')) {
                return self::DESCRIBE;
            }
            //describe
            if (strlen($stmt) > $offset + 4) {
                $c5 = $stmt[++$offset];
                $c6 = $stmt[++$offset];
                $c7 = $stmt[++$offset];
                $c8 = $stmt[++$offset];
                if (($c1 == 'E' || $c1 == 'e') && ($c2 == 'S' || $c2 == 's')
                    && ($c3 == 'C' || $c3 == 'c') && ($c4 == 'R' || $c4 == 'r')
                    && ($c5 == 'I' || $c5 == 'i') && ($c6 == 'B' || $c6 == 'b')
                    && ($c7 == 'E' || $c7 == 'e')
                    && ($c8 == ' ' || $c8 == '\t' || $c8 == '\r' || $c8 == '\n')) {
                    return self::DESCRIBE;
                }
            }
        }
        return self::OTHER;
    }
public static function describeCheck(string $stmt, int $offset)
    {
        //desc
        if (strlen($stmt) > $offset + 4) {
            $c1 = $stmt[++$offset];
            $c2 = $stmt[++$offset];
            $c3 = $stmt[++$offset];
            $c4 = $stmt[++$offset];
            if (($c1 == 'E' || $c1 == 'e') && ($c2 == 'S' || $c2 == 's')
                && ($c3 == 'C' || $c3 == 'c')
                && ($c4 == ' ' || $c4 == '\t' || $c4 == '\r' || $c4 == '\n')) {
                return self::DESCRIBE;
            }
            //describe
            if (strlen($stmt) > $offset + 4) {
                $c5 = $stmt[++$offset];
                $c6 = $stmt[++$offset];
                $c7 = $stmt[++$offset];
                $c8 = $stmt[++$offset];
                if (($c1 == 'E' || $c1 == 'e') && ($c2 == 'S' || $c2 == 's')
                    && ($c3 == 'C' || $c3 == 'c') && ($c4 == 'R' || $c4 == 'r')
                    && ($c5 == 'I' || $c5 == 'i') && ($c6 == 'B' || $c6 == 'b')
                    && ($c7 == 'E' || $c7 == 'e')
                    && ($c8 == ' ' || $c8 == '\t' || $c8 == '\r' || $c8 == '\n')) {
                    return self::DESCRIBE;
                }
            }
        }
        return self::OTHER;
    }
DESCRIBE' ' 或 desc' '