diff options
Diffstat (limited to 'ext/dom/tests/DOMImplementation_createDocument_basic.phpt')
-rw-r--r-- | ext/dom/tests/DOMImplementation_createDocument_basic.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/dom/tests/DOMImplementation_createDocument_basic.phpt b/ext/dom/tests/DOMImplementation_createDocument_basic.phpt new file mode 100644 index 0000000..78d20ae --- /dev/null +++ b/ext/dom/tests/DOMImplementation_createDocument_basic.phpt @@ -0,0 +1,14 @@ +--TEST-- +DOMImplementation::createDocument() +--SKIPIF-- +<?php +include('skipif.inc'); +?> +--FILE-- +<?php +$x = new DOMImplementation(); +$doc = $x->createDocument(null, 'html'); +echo $doc->saveHTML(); +?> +--EXPECTF-- +<html></html> |