HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP SimpleXML Reference : Rewind to the first element and return the current key (which is the XML tag name of the current element)
The key() function returns the current key (which is the XML tag name of the current element).
Return Value: | The XML tag name of the current element on success. FALSE otherwise |
---|---|
PHP Version: | 5.0+ |
❮ PHP SimpleXML Reference