Debug a DOMDocument Object in PHP

后端 未结 6 1039
情书的邮戳
情书的邮戳 2020-11-29 05:49

I\'m trying to debug a large and complex DOMDocument object in php. Ideally it\'d be nice if I could get DOMDocument to output in a array-like format.

DoMDocument

6条回答
  •  臣服心动
    2020-11-29 06:51

    I just used DOMDocument::save. It's lame that it has to write to a file, but whatever.

提交回复
热议问题