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:
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报