Home
last modified time | relevance | path

Searched refs:insertBefore (Results 1 – 16 of 16) sorted by relevance

/PHP-8.2/ext/dom/tests/
H A Dbug32615.phpt30 $root->insertBefore($frag, NULL);
33 $node = $root->insertBefore($frag, $node);
36 $root->insertBefore($frag, $root->firstChild);
56 $root->insertBefore($frag, $root->firstChild);
63 $root->insertBefore($frag, $node);
H A DDOMNode_insertBefore_error6.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
28 $parent_node->insertBefore($new_node, $ref_node);
H A DDOMNode_insertBefore_error2.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
31 $parent_node->insertBefore($new_node, $ref_node);
H A DDOMNode_insertBefore_error4.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
31 $parent_node->insertBefore($new_node, $ref_node);
H A DDOMNode_insertBefore_error3.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
32 $parent_node->insertBefore($new_node, $ref_node);
H A DDOMNode_insertBefore_error1.phpt2 DOMNode::insertBefore() should fail if node belongs to another document
17 $node_in_doc2->insertBefore($node_in_doc1);
H A DDOMNode_insertBefore_error5.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
33 $parent_node->insertBefore($new_node, $ref_node);
H A Dbug67440.phpt55 echo "== insertBefore ==\n";
56 echo "-- fragment to document element --\n"; case1('insertBefore'); echo "\n";
57 echo "-- children manually document element --\n"; case2('insertBefore'); echo "\n";
58 echo "-- fragment to document where first element is not a text node --\n"; case3('insertBefore'); …
59 echo "-- fragment with namespace declarations in children --\n"; case4('insertBefore'); echo "\n";
62 echo "-- fragment to document element --\n"; case1('insertBefore'); echo "\n";
63 echo "-- children manually document element --\n"; case2('insertBefore'); echo "\n";
64 echo "-- fragment to document where first element is not a text node --\n"; case3('insertBefore'); …
65 echo "-- fragment with namespace declarations in children --\n"; case4('insertBefore'); echo "\n";
97 == insertBefore ==
H A DDOMNode_insertBefore.phpt2 Tests DOMNode::insertBefore()
22 $e2->parentNode->insertBefore($e1, $e2);
H A Dgh16151.phpt15 $attr->insertBefore(new DOMComment("h"));
25 $attr->insertBefore($doc->createEntityReference('amp'));
H A Dbug40836.phpt2 Bug #40836 (Segfault in insertBefore)
24 $contentNode->firstChild->insertBefore($dateNode);
H A Dbug41374.phpt20 $bar = $root->insertBefore($doc->createTextNode("bar"), $foo->nextSibling);
H A Dbug28721.phpt2 Bug #28721 (appendChild() and insertBefore() unset DOMText)
87 $ret = $d->insertBefore($t4, $t3);
114 $d->insertBefore($frag, $t4);
402 Error (2) on line 109: DOMNode::insertBefore(): Document Fragment is empty
/PHP-8.2/ext/dom/
H A Dphp_dom.stub.php370 public function insertBefore(DOMNode $node, ?DOMNode $child = null) {} function in DOMNode
H A Dphp_dom_arginfo.h513 ZEND_METHOD(DOMNode, insertBefore);
696 ZEND_ME(DOMNode, insertBefore, arginfo_class_DOMNode_insertBefore, ZEND_ACC_PUBLIC)
H A Dnode.c893 PHP_METHOD(DOMNode, insertBefore) in PHP_METHOD() argument

Completed in 23 milliseconds