Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Dom\CharacterData::substringDataDom\ChildNode::after>
^DOMLast updated: Mon, 26 Oct 2026

The Dom\ChildNode interface

(PHP 8 >= 8.4.0)

Introduction

This is the modern, spec-compliant equivalent of DOMChildNode.

Interface synopsis

interface Dom\ChildNode {
/* Methods */
public function after(Dom\Node|string ...$nodes): void
public function before(Dom\Node|string ...$nodes): void
public function remove(): void
public function replaceWith(Dom\Node|string ...$nodes): void
}

Table of Contents


<Dom\CharacterData::substringDataDom\ChildNode::after>
^DOMLast updated: Mon, 26 Oct 2026