Home
last modified time | relevance | path

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

/php-src/ext/dom/tests/
H A DDOMNode_insertBefore_error6.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
26 $parent_node->insertBefore($new_node, $ref_node);
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_error4.phpt2 Test DOMNode::insertBefore() check the error code DOM_NOT_FOUND is raised
4 DOMNode::insertBefore(newNode, [refNode])
29 $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])
29 $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])
30 $parent_node->insertBefore($new_node, $ref_node);
H A DDOMNode_insertBefore_error5.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_error1.phpt2 DOMNode::insertBefore() should fail if node belongs to another document
17 $node_in_doc2->insertBefore($node_in_doc1);
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 Dgh16338.phpt20 $doc->insertBefore($elem2);
21 $elem->insertBefore($ref);
H A Dgh16595.phpt15 try { $v1 -> insertBefore ( $v0 , $v9 ); } catch (\Throwable) { }
18 $v1 -> insertBefore ( $v0 );
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 Dgh16152.phpt19 test('insertBefore');
H A Dgh16150.phpt20 test('insertBefore');
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-src/ext/dom/tests/modern/spec/
H A DNode_insertBefore_01.phpt2 Dom\Node::insertBefore() with DocumentFragment and dtd
15 $dom->insertBefore($fragment, $dom->doctype);
H A DNode_insertBefore_02.phpt2 Dom\Node::insertBefore() with DocumentFragment and a document element
14 $dom->insertBefore($fragment, $dom->documentElement);
/php-src/ext/dom/
H A Dphp_dom.stub.php443 public function insertBefore(DOMNode $node, ?DOMNode $child = null) {} function in DOMNode
1454 public function insertBefore(Node $node, ?Node $child): Node {} function in Dom\\Node
H A Dnode.c1063 PHP_METHOD(DOMNode, insertBefore) in PHP_METHOD() argument
1068 PHP_METHOD(Dom_Node, insertBefore) in PHP_METHOD() argument
H A Dphp_dom_arginfo.h1146 ZEND_METHOD(DOMNode, insertBefore);
1270 ZEND_METHOD(Dom_Node, insertBefore);
1371 ZEND_ME(DOMNode, insertBefore, arginfo_class_DOMNode_insertBefore, ZEND_ACC_PUBLIC)
1591 ZEND_ME(Dom_Node, insertBefore, arginfo_class_Dom_Node_insertBefore, ZEND_ACC_PUBLIC)

Completed in 39 milliseconds