(PHP 8 >= 8.4.0)
This is the modern, spec-compliant equivalent of DOMParentNode.
public append(Dom\Node|string ...$nodes): void
public prepend(Dom\Node|string ...$nodes): void
public querySelector(string $selectors): ?Dom\Element
public querySelectorAll(string $selectors): Dom\NodeList
public replaceChildren(Dom\Node|string ...$nodes): void}
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.dom-parentnode.php