DOMNode::replaceChild

Description

public function replaceChild<T as DOMNode>(
  DOMNode $newchildobj,
  T $oldchildobj,
): T

Parameters

  • DOMNode $newchildobj
  • T $oldchildobj