Test: /ext/dom/tests/bug76285.phpt - Version 7.3.8        

Bug #76285 DOMDocument::formatOutput attribute sometimes ignored
Submitted: 2018-04-29 06:23:16 Modified: 2018-06-28 09:43:33
From: daniel.hemberger Assigned: ab
Status: Closed Package: DOM XML related
PHP Version: Irrelevant OS:

There are 2 different diffs reported by users for this test.

Count Diff
48 (91%)
001+ Warning: Use of undefined constant LIBXML_HTML_NOIMPLIED - assumed 'LIBXML_HTML_NOIMPLIED' (this will throw an Error in a future version of PHP) in %s/bug76285.php on line 6
002+
003+ Warning: Use of undefined constant LIBXML_HTML_NODEFDTD - assumed 'LIBXML_HTML_NODEFDTD' (this will throw an Error in a future version of PHP) in %s/bug76285.php on line 6
004+
005+ Warning: DOMDocument::loadHTML() expects parameter 2 to be int, string given in %s/bug76285.php on line 6
006+ string(1) "
007+ "
008+ string(1) "
001- string(56) "<div><div><a>test</a></div><div><a>test2</a></div></div>"
002- string(57) "<div><div><a>test</a></div><div><a>test2</a></div></div>
5 (9%)
001+ string(82) "<html><body><div><div><a>test</a></div><div><a>test2</a></div></div></body></html>"
002+ string(83) "<html><body><div><div><a>test</a></div><div><a>test2</a></div></div></body></html>
001- string(56) "<div><div><a>test</a></div><div><a>test2</a></div></div>"
002- string(57) "<div><div><a>test</a></div><div><a>test2</a></div></div>