PHP DOM Functions Complete Reference Last Updated : 12 Mar, 2021 Comments Improve Suggest changes Like Article Like Report PHP DOM extension is used to operate on XML documents using DOM API. The DOM extension uses UTF-8 encoding. The Complete list of PHP DOM Functions are listed below: DOMAttr PHP DOMAttr __construct() FunctionPHP DOMAttr isId() Function DOMCdataSection PHP DOMCdataSection __construct() Function DOMCharacterData PHP DOMCharacterData appendData() FunctionPHP DOMCharacterData deleteData() FunctionPHP DOMCharacterData insertData() FunctionPHP DOMCharacterData replaceData() FunctionPHP DOMCharacterData substringData() Function DOMComment PHP DOMComment __construct() Function DOMDocument PHP DOMDocument __construct() FunctionPHP DOMDocument createAttribute() FunctionPHP DOMDocument createAttributeNS() FunctionPHP DOMDocument createCDATASection() FunctionPHP DOMDocument createComment() FunctionPHP DOMDocument createDocumentFragment() FunctionPHP DOMDocument createElement() FunctionPHP DOMDocument createElementNS() FunctionPHP DOMDocument createEntityReference() FunctionPHP DOMDocument createProcessingInstruction() FunctionPHP DOMDocument createTextNode() FunctionPHP DOMDocument getElementById() FunctionPHP DOMDocument getElementsByTagname() FunctionPHP DOMDocument getElementsByTagnameNS() FunctionPHP DOMDocument importNode() FunctionPHP DOMDocument load() FunctionPHP DOMDocument loadHTML() FunctionPHP DOMDocument loadHTMLFile() FunctionPHP DOMDocument loadXML() FunctionPHP DOMDocument normalizeDocument() FunctionPHP DOMDocument registerNodeClass() FunctionPHP DOMDocument relaxNGValidate() FunctionPHP DOMDocument relaxNGValidateSource() FunctionPHP DOMDocument save() FunctionPHP DOMDocument saveHTML() FunctionPHP DOMDocument saveHTMLFile() FunctionPHP DOMDocument saveXML() FunctionPHP DOMDocument schemaValidate() FunctionPHP DOMDocument schemaValidateSource() FunctionPHP DOMDocument validate() FunctionPHP DOMDocument xinclude() Function DOMDocumentFragment PHP DOMDocumentFragment appendXML() Function DOMElement PHP DOMElement __construct() FunctionPHP DOMElement getAttribute() FunctionPHP DOMElement getAttributeNode() FunctionPHP DOMElement getAttributeNodeNS() FunctionPHP DOMElement getAttributeNS() FunctionPHP DOMElement getElementsByTagName() FunctionPHP DOMElement getElementsByTagNameNS() FunctionPHP DOMElement hasAttribute() FunctionPHP DOMElement hasAttributeNS() FunctionPHP DOMElement removeAttribute() FunctionPHP DOMElement removeAttributeNode() FunctionPHP DOMElement removeAttributeNS() FunctionPHP DOMElement setAttribute() FunctionPHP DOMElement setAttributeNode() FunctionPHP DOMElement setAttributeNodeNS() FunctionPHP DOMElement setAttributeNS() FunctionPHP DOMElement setIdAttribute() FunctionPHP DOMElement setIdAttributeNode() FunctionPHP DOMElement setIdAttributeNS() Function DOMEntityReference PHP DOMEntityReference __construct() function DOMImplementation PHP DOMImplementation __construct() FunctionPHP DOMImplementation createDocument() FunctionPHP DOMImplementation createDocumentType() functionPHP DOMImplementation hasFeature() Function DOMNamedNodeMap PHP DOMNamedNodeMap count() FunctionPHP DOMNamedNodeMap getNamedItem() FunctionPHP DOMNamedNodeMap getNamedItemNS() FunctionPHP DOMNamedNodeMap item() function DOMNode PHP DOMNode appendChild() functionPHP DOMNode C14N() FunctionPHP DOMNode C14NFile() FunctionPHP DOMNode cloneNode() functionPHP DOMNode getLineNo() functionPHP DOMNode getNodePath() FunctionPHP DOMNode hasAttributes() FunctionPHP DOMNode hasChildNodes() functionPHP DOMNode insertBefore() FunctionPHP DOMNode isDefaultNamespace() FunctionPHP DOMNode isSameNode() FunctionPHP DOMNode isSupported() FunctionPHP DOMNode lookupNamespaceUri() FunctionPHP DOMNode lookupPrefix() FunctionPHP DOMNode normalize() FunctionPHP DOMNode removeChild() FunctionPHP DOMNode replaceChild() Function DOMNodeList PHP DOMNodeList item() FunctionPHP DOMNodeList count() Function DOMProcessingInstruction PHP DOMProcessingInstruction __construct() Function DOMText PHP DOMText __construct() FunctionPHP DOMText isElementContentWhitespace() FunctionPHP DOMText isWhitespaceInElementContent() FunctionPHP DOMText splitText() Function DOMXPath PHP DOMXPath __construct() FunctionPHP DOMXPath evaluate() FunctionPHP DOMXPath query() FunctionPHP DOMXPath registerNamespace() FunctionPHP DOMXPath registerPhpFunctions() Function DOM Functions PHP dom_import_simplexml() Function Comment More infoAdvertise with us Next Article PHP DOM Functions Complete Reference K kartik Follow Improve Article Tags : Web Technologies PHP PHP-function PHP-DOM Similar Reads PHP intl Functions Complete Reference The Complete list of PHP intl Functions are listed below: Collator PHP collator_asort() FunctionPHP collator_compare() FunctionPHP Collator __construct() FunctionPHP Collator create() FunctionPHP collator_sort_with_sort_keys() FunctionPHP collator_sort() Function IntlCalendar PHP IntlCalendar add() 1 min read PHP Math Functions Complete Reference The predefined math functions in PHP are used to handle the mathematical operations within the integer and float types. These math functions are part of the PHP core. Installation: These functions have not required any installation. The complete list of PHP math functions are given below:Example: Pr 3 min read PHP Filesystem Functions Complete Reference The Filesystem function is used to access and manipulate filesystem. It is the part of PHP code so no need to install these functions. For accessing the files on the system, the file path will be used. On Unix system, forward slash (/) is used as a directory separator and on Windows platform, both f 4 min read PHP String Functions Complete Reference Strings are a collection of characters. For example, 'G' is the character and 'GeeksforGeeks' is the string. Installation: These functions are not required any installation. These are the part of PHP core. The complete list of PHP string functions are given below: Example: This program helps us to c 6 min read PHP Calendar Functions Complete Reference The calendar extension contains a series of functions to represent the calendar date into a different format. The standard date is based on Julian Day Count. The date count starting from January 1st, 4713 B.C. is known as Julian Day Count. First, the date is converted into Julian Day Count and then 2 min read Like