note 25133 deleted from function.domelement-tagname by didou
| From: | didou@php.net | Date: | Sat, 18 Jun 2005 16:25:15 +0000 |
| Subject: | note 25133 deleted from function.domelement-tagname by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90628@lists.php.net to get a copy of this message | ||
Note Submitter: jon.sprague(AT)itgco.com
----
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