summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUwe Steinmann <steinm@php.net>2000-02-09 20:06:23 +0000
committerUwe Steinmann <steinm@php.net>2000-02-09 20:06:23 +0000
commite548a31510025eaa0e51312d0a6f720cd4c295cd (patch)
tree6d59c22875aef6b175458dca87e03f49981c6022 /tests
parentab465c585798b64c3dd5b497159c1dbbeb6c49ae (diff)
downloadphp-git-e548a31510025eaa0e51312d0a6f720cd4c295cd.tar.gz
- removed stupid leftover in testdom
- added more functions to domxml
Diffstat (limited to 'tests')
-rw-r--r--tests/testdom4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testdom b/tests/testdom
index 58a41a9952..c668813031 100644
--- a/tests/testdom
+++ b/tests/testdom
@@ -63,12 +63,12 @@ output_node($rootnode);
$doc = newxmldoc("1.0");
$root = $doc->addroot("HTML");
-$root->newchild("TITLE", "Hier der Titel");
+$head = $root->newchild("HEAD", "");
+$head->newchild("TITLE", "Hier der Titel");
$body = $root->newchild("BODY", "");
$table = $body->newchild("TABLE", "");
$table->setattr("WIDTH", "100%");
$table->newchild("TR", " ");
echo $doc->dumpmem();
-echo {$root->children()}[0];
?>