dougaopu7938 2011-01-23 11:55
浏览 18
已采纳

为什么var_dump不能与DomDocument对象一起使用,而print($ dom-> saveHTML())呢?

Why doesn't var_dump work with DomDocument objects, while print($dom->saveHTML()) produces output?

  • 写回答

2条回答 默认 最新

  • duanmie9682 2011-01-23 12:53
    关注

    Update: As of PHP 5.4.1 you can finally var_dump DOM objects. See https://gist.github.com/2499678


    It's a bug:

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)
编辑
预览

报告相同问题?