From: Marcus Boerger Date: Tue, 29 Oct 2002 16:04:42 +0000 (+0000) Subject: Add simple parsing test X-Git-Tag: php-4.3.0RC1~448 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c92a61dcb916818b7a6829c7a679eb368a9f82d;p=php Add simple parsing test --- diff --git a/ext/domxml/tests/skipif.inc b/ext/domxml/tests/skipif.inc new file mode 100644 index 0000000000..8498b5b190 --- /dev/null +++ b/ext/domxml/tests/skipif.inc @@ -0,0 +1,3 @@ + diff --git a/ext/domxml/tests/xmldoc.phpt b/ext/domxml/tests/xmldoc.phpt new file mode 100644 index 0000000000..244f289c16 --- /dev/null +++ b/ext/domxml/tests/xmldoc.phpt @@ -0,0 +1,35 @@ +--TEST-- +xmldoc() +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +object(domdocument)(9) { + ["name"]=> + string(9) "#document" + ["url"]=> + string(0) "" + ["version"]=> + string(3) "1.0" + ["standalone"]=> + int(1) + ["type"]=> + int(9) + ["compression"]=> + int(-1) + ["charset"]=> + int(1) + [0]=> + int(5) + [1]=> + int(%d) +} \ No newline at end of file