This is related to feature request 34839. [12 Oct 7:58pm CEST] stochnagara at hotmail dot com
Description: ------------ The class SimpleXMLElement is wonderful and provides a great functionality. But I need to extend it and I don't have a way to determine whether a given SimpleXMLElement is an attribute, an element, a CDATA section and so on. So I suggest adding methods getName() and getType(). getName() returns element's name for elements, attribute's name for attributes and so on. getType() returns SimpleXMLElement::ELEMENT and so on. Maybe it is late for 5.1.0 but 5.1.1 is a good place for this to appear. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php