diff options
| author | Uwe Steinmann <steinm@php.net> | 2000-02-17 15:05:24 +0000 |
|---|---|---|
| committer | Uwe Steinmann <steinm@php.net> | 2000-02-17 15:05:24 +0000 |
| commit | 995c565fba10a4abaddd4db556c89b98bdd5fd41 (patch) | |
| tree | d07562121c8a879c7d68e0fd27c11cbaccfe9084 /tests | |
| parent | f1a2ee55e0ac3c1ff443ef7c67724ff7b773d4c3 (diff) | |
| download | php-git-995c565fba10a4abaddd4db556c89b98bdd5fd41.tar.gz | |
- change some function name into php style
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/testdom | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/testdom b/tests/testdom index e8e01a94bd..4593fe05da 100644 --- a/tests/testdom +++ b/tests/testdom @@ -69,14 +69,14 @@ echo "\n"; /* The following builds a xml document from scratch */ echo "Test 3: building a xml document from scratch\n"; -$doc = newxmldoc("1.0"); -$root = $doc->addroot("HTML"); -$head = $root->newchild("HEAD", ""); -$head->newchild("TITLE", "Hier der Titel"); -$body = $root->newchild("BODY", ""); -$table = $body->newchild("TABLE", ""); +$doc = new_xmldoc("1.0"); +$root = $doc->add_root("HTML"); +$head = $root->new_child("HEAD", ""); +$head->new_child("TITLE", "Hier der Titel"); +$body = $root->new_child("BODY", ""); +$table = $body->new_child("TABLE", ""); $table->setattr("WIDTH", "100%"); -$table->newchild("TR", " "); +$table->new_child("TR", " "); echo $doc->dumpmem(); ?> |
