Why doesn't var_dump work with DOMDocument objects, while print($dom->saveHTML()) produces output?
var_dump
print($dom->saveHTML())
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.4m articles
1.4m replys
5 comments
57.0k users