PHP Config Demo 分别使用ini、json的方式写一个config示例,从中选出使用哪种方式更好,从对比中发现,貌似json的方式更好。 ini configure demo json configure demo 支持直接解析json文件; 支持解析json字符串之后直接添加属性;