Warning: file_put_contents(): Only -1 of 79 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
DOMDocument->createElementNS() DOMDocument->createProcessingInstruction() DOM PHP Manual DOMDocument->createEntityReference() (No version information available, might be only in CVS) DOMDocument-...
Forum und email

DOMDocument->createEntityReference()

(No version information available, might be only in CVS)

DOMDocument->createEntityReference() — 新しいエンティティ参照ノードを作成する

説明

DOMDocument
DOMEntityReference createEntityReference ( string $name )

この関数は、DOMEntityReference クラスの新しいインスタンスを作成します。このノードは、DOMNode->appendChild() などで 挿入されない限り、ドキュメント内に現われません。

パラメータ

name

エンティティ参照の内容、つまり、エンティティ参照から 先頭の & および末尾の ; を取り除いたもの。

返り値

新しい DOMEntityReference、 あるいはエラーが発生した場合には FALSE を返します。

エラー / 例外

DOM_INVALID_CHARACTER_ERR

name が無効な文字を含んでいる場合に発生します。