parse_ini_file可以使用多少级别的嵌套数组?

时间:2014-12-28 15:48:20

标签: php

parse_ini_file可以使用多少级别的嵌套数组?

例如,可以创建以下数组吗?如果是这样,怎么样?

Array
(
    [first_section] => Array
        (
            [one] => 1
            [five] => 5
            [animal] => Dodo bird
        )

    [second_section] => Array
        (
            [second_1] => Array
                (
                    [second_1_1] => 1
                    [second_1_2] => 2
                    [second_1_3] => Array
                        (
                            [second_1_3_1] => one
                            [second_1_3_2] => two
                        )

                )

            [second_2] => two
        )

)

0 个答案:

没有答案