小编sem*_*for的帖子

SimpleXMLElement 对象,键中带有 @ 和破折号

我有 SimpleXMLElement 对象看起来像这样

    SimpleXMLElement Object (
     [report-name] = SimpleXMLElement Object
         (
         [@attributes] = Array
             (
             [name] = Raport
             )

         )

     [date-range] = SimpleXMLElement Object
         (
         [@attributes] = Array
             (
             [date] = Jan 29, 2014
             )

         ) )
Run Code Online (Sandbox Code Playgroud)

我怎样才能从中获得“日期”值?

php simplexml

2
推荐指数
1
解决办法
1401
查看次数

标签 统计

php ×1

simplexml ×1