(PHP 8 >= 8.4.0)
This is the modern, spec-compliant equivalent of DOMChildNode.
public after(Dom\Node|string ...$nodes): void
public before(Dom\Node|string ...$nodes): void
public remove(): void
public replaceWith(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-childnode.php