summaryrefslogtreecommitdiff
path: root/ext/dom/tests/bug76285.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/tests/bug76285.phpt')
-rw-r--r--ext/dom/tests/bug76285.phpt21
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/dom/tests/bug76285.phpt b/ext/dom/tests/bug76285.phpt
deleted file mode 100644
index c5fbd9627f..0000000000
--- a/ext/dom/tests/bug76285.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Bug #76285 DOMDocument::formatOutput attribute sometimes ignored
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
-<?php if (!defined("LIBXML_HTML_NOIMPLIED")) die("skip libxml2 2.7.7 required"); ?>
---FILE--
-<?php
-
-$dom = new DOMDocument();
-$dom->formatOutput = false;
-$html = '<div><div><a>test</a></div><div><a>test2</a></div></div>';
-$dom->loadHTML($html, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
-$rootNode = $dom->documentElement;
-var_dump($dom->saveHTML($rootNode));
-var_dump($dom->saveHTML());
-
-?>
---EXPECT--
-string(56) "<div><div><a>test</a></div><div><a>test2</a></div></div>"
-string(57) "<div><div><a>test</a></div><div><a>test2</a></div></div>
-"