The DOMEntity class
(PHP 5, PHP 7, PHP 8)
简介
This interface represents a known entity, either parsed or unparsed, in an XML document.
类摘要
bool
$exclusive = false,bool
$withComments = false,?array
$xpath = null,?array
$nsPrefixes = null): string|false
属性
publicId
The public identifier associated with the entity if specified, and
null otherwise.
The system identifier associated with the entity if specified, and
null otherwise. This may be an absolute URI or not.
For unparsed entities, the name of the notation for the entity. For
parsed entities, this is null.
Deprecated as of PHP 8.4.0.
This has always been equal to null.
Deprecated as of PHP 8.4.0.
This has always been equal to null.
Deprecated as of PHP 8.4.0.
This has always been equal to null.
更新日志
| 版本 | 说明 |
|---|---|
| 8.4.0 |
actualEncoding,
encoding, and
version are formally deprecated now because they have
always been equal to null.
|
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
