| SimpleXMLIterator::keyReturn current key Description
   public mixed SimpleXMLIterator::key
    ( void
   ) This method gets the XML tag name of the current element. ParametersThis function has no parameters. Return Values
   Returns the XML tag name of the element referenced by the current SimpleXMLIterator object or  Examples
 Example #1 Get the current XML tag key 
<?phpThe above example will output: bool(false) string(4) "book" |