Search Results
Creates a new DOMEntityReference object
Feb 19, 2020 · The DOMEntityReference::__construct () function is an inbuilt function in PHP which is used to create a new DOMEntityReference object. Syntax: public DOMEntityReference::__construct( string $name ) Parameters: This function accepts a single parameter $name which holds the name of the entity reference.
See Also DOMDocument::createEntityReference () - Create new entity reference node
Table of Contents DOMEntityReference::__construct — Creates a new DOMEntityReference object
Jul 24, 2025 · 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 () Function PHP DOMAttr isId () Function DOMCdataSection PHP DOMCdataSection __construct () Function DOMCharacterData PHP DOMCharacterData appendData () Function PHP DOMCharacterData deleteData ...
Simple usage example of `DOMEntityReference::__construct ()`. The DOMEntityReference::__construct function is used to create a new instance of the DOMEntityReference class in PHP's Document Object Model extension. This function allows you to create a reference to an entity within an XML document.
See Also DOMDocument::createEntityReference () - Create new entity reference node © 1997–2020 The PHP Documentation Group Licensed under the Creative Commons Attribution License v3.0 or later. https://www.php.net/manual/en/domentityreference.construct.php
