public function escape($e)
    {
        if (!isset($e)) {
            return '';
        }

        if (is_numeric($e) and PHP_INT_MIN <= $e and $e <= PHP_INT_MAX) {
            if (explode('.', $e)[0] != $e) {
                return (float) $e;
            }
            return (int) $e;
        }

        return (string) trim(str_replace(['\\',"\x00",'\n','\r',"'",'"',"\x1a"], ['\\\\','\\0','\\n','\\r',"\'",'\"','\\Z'], $e));
    }