dddie 发表于 2013-09-04 17:33

php 如何解析"块配置文件"

<a>
        a1 11
        <b>
                b1   11
                b2   22
        </b>
        <c>
                c1 11 12
                c2 21 22
        </c>
</a>

我知道perl可以用Config::General 来解析上面的配置,,请问php如何解析以上配置

witer666 发表于 2013-09-04 18:22

simplexml_load_string
页: [1]
查看完整版本: php 如何解析"块配置文件"