Skip to content

Tag Archives: PHP-function

The DOMText::splitText() function is an inbuilt function in PHP which is used to break a node into two nodes at the specified offset. Syntax: DOMText… Read More
The DOMElement::setAttributeNode() function is an inbuilt function in PHP which is used to add a new attribute node to element. Syntax: DOMAttr DOMElement::setAttributeNode( DOMAttr $attr… Read More
The DOMNode::insertBefore() function is an inbuilt function in PHP which is used to insert a new node before a certain another node. Syntax: DOMNode DOMNode::insertBefore(… Read More
The DOMElement::getElementsByTagNameNS() function is an inbuilt function in PHP which is used to get all the descendant elements with a given localName and namespaceURI. Syntax:… Read More
The DOMElement::setAttribute() function is an inbuilt function in PHP which is used to set an attribute with given name to the given value. If the… Read More
The DOMElement::hasAttribute() function is an inbuilt function in PHP which is used to know whether attribute with a specific name exists as a member of… Read More
The DOMNode::isSameNode() function is an inbuilt function in PHP which indicates if two nodes are the same node or not. Syntax: bool DOMNode::isSameNode( DOMNode $node… Read More
The DOMElement::removeAttributeNode() function is an inbuilt function in PHP which is used to remove attribute from element. Syntax: bool DOMElement::removeAttributeNode( DOMAttr $oldnode ) Parameters: This… Read More
The DOMNode::lookupNamespaceUri() function is an inbuilt function in PHP which is used to get the namespace URI of the node based on the prefix. Syntax:… Read More
The DOMNode::removeChild() function is an inbuilt function in PHP which is used remove child from list of children. Syntax: DOMNode DOMNode::removeChild( DOMNode $oldnode ) Parameters:… Read More
The strftime() function is an inbuilt function in PHP that formats local time or date according to locale settings i.e. it formats local time or… Read More
The DOMNode::lookupPrefix() function is an inbuilt function in PHP which is used to get the namespace prefix of the node based on the namespace URI.Syntax:  … Read More
The DOMNode::normalize() function is an inbuilt function in PHP which is used to remove empty text nodes and merge adjacent text nodes in this node… Read More
The DOMNode::isDefaultNamespace() function is an inbuilt function in PHP which is used to check if the specified namespaceURI is the default namespace or not. Syntax:… Read More
The DOMNode::getNodePath() function is an inbuilt function in PHP which is used to get an XPath location path for the node. Syntax: string DOMNode::getNodePath( void… Read More

Start Your Coding Journey Now!