--TEST-- Bug #76285 DOMDocument::formatOutput attribute sometimes ignored --SKIPIF-- --FILE-- formatOutput = false; $html = '
'; $dom->loadHTML($html, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD); $rootNode = $dom->documentElement; var_dump($dom->saveHTML($rootNode)); var_dump($dom->saveHTML()); ?> --EXPECT-- string(56) "" string(57) " "