The DOMEntity class
(PHP 5, PHP 7, PHP 8)
Introduction
This interface represents a known entity, either parsed or unparsed, in an XML document.
Class synopsis
/* Inherited constants */
/* Properties */
/* Inherited properties */
/* Inherited methods */
public function DOMNode::C14N(
bool
bool
?array
?array
): string|false
}bool
$exclusive = false,bool
$withComments = false,?array
$xpath = null,?array
$nsPrefixes = null): string|false
Properties
- publicId
-
The public identifier associated with the entity if specified, and
nullotherwise. - systemId
-
The system identifier associated with the entity if specified, and
nullotherwise. This may be an absolute URI or not. - notationName
-
For unparsed entities, the name of the notation for the entity. For parsed entities, this is
null. - actualEncoding
-
Deprecated as of PHP 8.4.0. This has always been equal to
null. - encoding
-
Deprecated as of PHP 8.4.0. This has always been equal to
null. - version
-
Deprecated 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.
|
+add a note
User Contributed Notes
There are no user contributed notes for this page.