DOMNode::insertBefore

Description

public function insertBefore(
  T $newnode,
  ?DOMNode $refnode = null,
): T

Parameters

  • T $newnode
  • ?DOMNode $refnode = null