src/Parser/ServerParse.php
public static function dCheck(string $stmt, int $offset)
    {
        if (strlen($stmt) > $offset + 4) {
            $res = self::describeCheck($stmt, $offset);
            if ($res == self::DESCRIBE) {
                return $res;
            }
        }
        // continue check
        if (strlen($stmt) > $offset + 6) {
            $c1 = $stmt[++$offset];
            $c2 = $stmt[++$offset];
            $c3 = $stmt[++$offset];
            $c4 = $stmt[++$offset];
            $c5 = $stmt[++$offset];
            $c6 = $stmt[++$offset];
            if (($c1 == 'E' || $c1 == 'e') && ($c2 == 'L' || $c2 == 'l')
                && ($c3 == 'E' || $c3 == 'e') && ($c4 == 'T' || $c4 == 't')
                && ($c5 == 'E' || $c5 == 'e')
                && ($c6 == ' ' || $c6 == '\t' || $c6 == '\r' || $c6 == '\n')) {
                return self::DELETE;
            }
        }
        return self::OTHER;
    }
public static function dCheck(string $stmt, int $offset)
    {
        if (strlen($stmt) > $offset + 4) {
            $res = self::describeCheck($stmt, $offset);
            if ($res == self::DESCRIBE) {
                return $res;
            }
        }
        // continue check
        if (strlen($stmt) > $offset + 6) {
            $c1 = $stmt[++$offset];
            $c2 = $stmt[++$offset];
            $c3 = $stmt[++$offset];
            $c4 = $stmt[++$offset];
            $c5 = $stmt[++$offset];
            $c6 = $stmt[++$offset];
            if (($c1 == 'E' || $c1 == 'e') && ($c2 == 'L' || $c2 == 'l')
                && ($c3 == 'E' || $c3 == 'e') && ($c4 == 'T' || $c4 == 't')
                && ($c5 == 'E' || $c5 == 'e')
                && ($c6 == ' ' || $c6 == '\t' || $c6 == '\r' || $c6 == '\n')) {
                return self::DELETE;
            }
        }
        return self::OTHER;
    }
DESCRIBE or desc or DELETE' '