src/Parser/ServerParse.php
private static function aCheck(string $stmt, int $offset)
    {
        if (strlen($stmt) > $offset + 4) {
            $c1 = $stmt[++$offset];
            $c2 = $stmt[++$offset];
            $c3 = $stmt[++$offset];
            $c4 = $stmt[++$offset];
            $c5 = $stmt[++$offset];
            if (($c1 == 'L' || $c1 == 'l')
                && ($c2 == 'T' || $c2 == 't')
                && ($c3 == 'E' || $c3 == 'e')
                && ($c4 == 'R' || $c4 == 'r')
                && ($c5 == ' ' || $c5 == '\t' || $c5 == '\r' || $c5 == '\n')) {
                return self::DDL;
            }
        }
        return self::OTHER;
    }
private static function aCheck(string $stmt, int $offset)
    {
        if (strlen($stmt) > $offset + 4) {
            $c1 = $stmt[++$offset];
            $c2 = $stmt[++$offset];
            $c3 = $stmt[++$offset];
            $c4 = $stmt[++$offset];
            $c5 = $stmt[++$offset];
            if (($c1 == 'L' || $c1 == 'l')
                && ($c2 == 'T' || $c2 == 't')
                && ($c3 == 'E' || $c3 == 'e')
                && ($c4 == 'R' || $c4 == 'r')
                && ($c5 == ' ' || $c5 == '\t' || $c5 == '\r' || $c5 == '\n')) {
                return self::DDL;
            }
        }
        return self::OTHER;
    }
alter table/view/...