请帮帮我,我的问题是:在解析文件到PHP数组
一个txt文件我有
rpgoCPpref = {
["enabled"] = true,
["button"] = true,
["debug"] = false,
["questsfull"] = false,
["tooltipshtml"] = true,
["tooltip"] = true,
["verbose"] = false,
["scan"] = {
["inventory"] = true,
["talents"] = true,
["glyphs"] = true,
["honor"] = true,
["reputation"] = true,
["spells"] = true,
["pet"] = true,
["equipment"] = true,
["currency"] = true,
["companions"] = true,
["professions"] = true,
["mail"] = true,
["skills"] = true,
["quests"] = true,
["bank"] = true,
},
["ver"] = 30000,
["fixicon"] = true,
["talentsfull"] = true,
["fixtooltip"] = true,
["fixcolor"] = true,
["lite"] = true,
["reagentfull"] = true,
["fixquantity"] = true,
}
谁是转换的形式或阵列分析在PHP?为您提供帮助thx