我的配置文件如下所示:
title = myTitle;
otherTitle = myOtherTitle;
当我用 file() 读取文件时,它会创建这个数组
[0] => title = myTitle;
[1] => otherTitle = myOtherTitle;
我希望数组看起来像
[title] => myTitle;
[otherTitle] => myOtherTitle;
我是不是用了错误的方法她?我是否应该将整个配置读入一个刺痛并从那里爆炸?