We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f05a8 commit a6467afCopy full SHA for a6467af
ext/dom/tests/bug76285.phpt
@@ -1,5 +1,8 @@
1
--TEST--
2
Bug #76285 DOMDocument::formatOutput attribute sometimes ignored
3
+--SKIPIF--
4
+<?php require_once('skipif.inc'); ?>
5
+<?php if (!defined("LIBXML_HTML_NOIMPLIED")) die("skip libxml2 2.7.7 required"); ?>
6
--FILE--
7
<?php
8
@@ -15,4 +18,4 @@ var_dump($dom->saveHTML());
15
18
--EXPECT--
16
19
string(56) "<div><div><a>test</a></div><div><a>test2</a></div></div>"
17
20
string(57) "<div><div><a>test</a></div><div><a>test2</a></div></div>
-"
21
+"
0 commit comments