summaryrefslogtreecommitdiff
path: root/ext/dom/tests/DOMElement_hasAttributes_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/tests/DOMElement_hasAttributes_basic.phpt')
-rw-r--r--ext/dom/tests/DOMElement_hasAttributes_basic.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/dom/tests/DOMElement_hasAttributes_basic.phpt b/ext/dom/tests/DOMElement_hasAttributes_basic.phpt
index 39366eaab1..a6a2055066 100644
--- a/ext/dom/tests/DOMElement_hasAttributes_basic.phpt
+++ b/ext/dom/tests/DOMElement_hasAttributes_basic.phpt
@@ -1,5 +1,5 @@
--TEST--
-DOMNode: hasAttributes()
+DOMNode: hasAttributes()
--CREDITS--
James Lewis <james@s-1.com>
#TestFest 2008
@@ -22,15 +22,15 @@ echo "Verify that we have a DOMElement object:\n";
echo get_class($element), "\n";
echo "\nElement should have attributes:\n";
-var_dump($element->hasAttributes());
+var_dump($element->hasAttributes());
-$nodelist=$dom->getElementsByTagName('tbody') ;
+$nodelist=$dom->getElementsByTagName('tbody') ;
$element = $nodelist->item(0);
echo "\nVerify that we have a DOMElement object:\n";
echo get_class($element), "\n";
-echo "\nElement should have no attributes:\n";
+echo "\nElement should have no attributes:\n";
var_dump($element->hasAttributes());