我在使用PHP数组时遇到了一些问题,据我所知,这个数组应该可以工作。我正在使用simpleXML,并循环遍历simpleXML输出。以下是我的simpleXML输出示例(以下代码中的$cxml): [country] => Array ( // the following line generates - correctly - th
我遇到了这个将SimpleXML对象转换为数组的函数 * function object2array - A simpler way to transform the result into@date 2011-02-05 04:57 UTC
* @link http://www.php.net/manual/en/function.simplexml-load-string.p