.iniファイルを2次元配列に格納する関数
第二引数をTrueにすることで有効になる。
sample.iniファイルの中身
[title]type = "string"
default = "test"
[date]type = "int"
default = "2009"
このiniファイルを読み込む場合
$array = parse_ini_file("c:/sample.ini", true);
echo $array["title"]["type"]; → string
echo $array["title"]["default"]; → test
echo $array["date"]["type"]; → int
echo $array["date"]["default"]; → 2009