public static function prepareEnv($data)
    {
        $result = [];
        $rows = explode("\n", $data);
        for ($i = 0, $s = sizeof($rows); $i < $s; ++$i) {
            $e = self::extract($rows[$i]);
            $result[$e[0]] = $e[1];
        }
        return $result;
    }