protected function parseEnvLine($line, &$key, &$value)
    {
        $parseOk = false;

        $keyExpr = '/(^\S+)\s*=\s*/';
        if (preg_match($keyExpr, $line, $matched) === 1) {
            $key = $matched[1];
            $value = substr($line, strlen($matched[0]));
            $parseOk = true;
        }

        return $parseOk;
    }