DOMParentNode::prepend

(PHP 8)

DOMParentNode::prependPrepends nodes before the first child node

说明

public DOMParentNode::prepend(DOMNode|string ...$nodes): void

Prepends one or many nodes to the list of children before the first child node.

参数

nodes

The nodes to prepend.

返回值

没有返回值。

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top