The DOMEntity class
This interface represents a known entity, either parsed or unparsed, in an XML document.
Intro
This interface represents a known entity, either parsed or unparsed, in an XML document.
Class synopsis
Properties
publicIdThe public identifier associated with the entity if specified, and null otherwise.
systemIdThe system identifier associated with the entity if specified, and null otherwise. This may be an absolute URI or not.
notationNameFor unparsed entities, the name of the notation for the entity. For parsed entities, this is null.
actualEncodingDeprecated as of PHP 8.4.0. This has always been equal to null.
encodingDeprecated as of PHP 8.4.0. This has always been equal to null.
versionDeprecated as of PHP 8.4.0. This has always been equal to null.
Changelog
| Version | Description |
|---|---|
| 8.4.0 | actualEncoding, encoding, and version are formally deprecated now because they have always been equal to null. |