summaryrefslogtreecommitdiff
path: root/ext/dom/tests/domattributes.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
committerSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
commit88ec761548b66f58acc1a86cdd0fc164ca925476 (patch)
treed0af978fa00d83bb1d82c613f66477fbd6bb18aa /ext/dom/tests/domattributes.phpt
parent268984b4787e797db6054313fc9ba3b9e845306e (diff)
downloadphp-git-PECL_OPENSSL.tar.gz
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'ext/dom/tests/domattributes.phpt')
-rw-r--r--ext/dom/tests/domattributes.phpt43
1 files changed, 0 insertions, 43 deletions
diff --git a/ext/dom/tests/domattributes.phpt b/ext/dom/tests/domattributes.phpt
deleted file mode 100644
index 9097a887e9..0000000000
--- a/ext/dom/tests/domattributes.phpt
+++ /dev/null
@@ -1,43 +0,0 @@
---TEST--
-Attributes: DOMAttribute functionality
---SKIPIF--
-<?php require_once('skipif.inc'); ?>
---FILE--
-<?php
-require_once("dom_test.inc");
-
-$dom = new DOMDocument;
-$dom->loadXML($xmlstr);
-if(!$dom) {
- echo "Error while parsing the document\n";
- exit;
-}
-
-$node = $dom->documentElement;
-
-$lang = $node->getAttributeNode('language');
-echo "Language: ".$lang->value."\n";
-
-$lang->value = 'en-US';
-echo "Language: ".$lang->value."\n";
-
-$parent = $lang->ownerElement;
-
-$chapter = new DOMAttr("num", "1");
-$parent->setAttributeNode($chapter);
-
-echo "Is ID?: ".($chapter->isId()?'YES':'NO')."\n";
-
-$top_element = $node->cloneNode();
-
-print $dom->saveXML($top_element);
-
-
-?>
---EXPECT--
-
-Language: en
-Language: en-US
-Is ID?: NO
-<chapter language="en-US" num="1"/>
-