Why doesn’t var_dump work with DOMDocument objects, while print($dom->saveHTML()) does?

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


It’s a bug:

Leave a Comment