note 25133 added to function.domelement-tagname
| From: | jon dot sprague at rack1 dot php dot net | Date: | Wed, 11 Sep 2002 16:51:20 +0000 |
| Subject: | note 25133 added to function.domelement-tagname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36525@lists.php.net to get a copy of this message | ||
This method does NOT exist in PHP 4.2.2.
So this would NOT work:
print($name->tagname());
So use this instead:
print($name->tagname);
The latter is directly accessing the object's internal variable.
Opposed to the former that calls a meathod that will return the value of the object's internal
variable.
Jon
--
http://www.php.net/manual/en/function.domelement-tagname.php
http://master.php.net/manage/user-notes.php?action=edit+25133
http://master.php.net/manage/user-notes.php?action=delete+25133
http://master.php.net/manage/user-notes.php?action=reject+25133