Is really no one interested?

From: Date: Mon, 31 Oct 2005 09:16:21 +0000
Subject: Is really no one interested?
Groups: php.internals 
Request: Send a blank email to internals+get-19856@lists.php.net to get a copy of this message
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.

« previous php.internals (#19856) next »