Home
last modified time | relevance | path

Searched refs:replaceChild (Results 1 – 14 of 14) sorted by relevance

/php-src/ext/dom/tests/modern/spec/
H A DNode_replaceChild_edge_cases.phpt2 Dom\Node::replaceChild() edge cases
19 $comment->replaceChild($comment, $dom->createElement("old-child"));
27 $parent->replaceChild($parent, $child);
33 $parent->replaceChild($dom, $child);
50 $parent->replaceChild($entityReference, $child);
58 $dom->replaceChild($dom->createTextNode("text"), $parent);
66 $parent->replaceChild($dom->doctype, $child);
78 $dom->replaceChild($fragment, $parent);
103 $dom->replaceChild($dom->doctype, $parent);
110 $dom->replaceChild($parent, $parent);
[all …]
/php-src/ext/dom/tests/
H A Dbug32615.phpt21 $root->replaceChild($frag, $root->firstChild);
27 $root->replaceChild($frag, $root->lastChild);
39 $root->replaceChild($frag, $node);
42 $root->replaceChild($frag, $root->lastChild);
45 $root->replaceChild($frag, $root->firstChild->nextSibling);
69 $root->replaceChild($frag, $root->firstChild);
H A Dgh16593.phpt2 GH-16593 (Assertion failure in DOM->replaceChild)
12 $root->replaceChild($doc->createAttribute('foo'), $child);
H A DDOMNode_replaceChild_error2.phpt2 replaceChild() where the new node is a grandparent of the old node
14 $b->replaceChild($a, $c);
H A DreplaceChild_attribute_validation.phpt2 replaceChild with attribute children
13 $attr->replaceChild($dom->createProcessingInstruction('pi'), $attr->firstChild);
H A Dbug79451.phpt2 Bug #79451 (Using DOMDocument->replaceChild on doctype causes double free)
11 $dom->replaceChild($dt, $dom->doctype);
H A DDOMNode_replaceChild_error1.phpt2 replaceChild() where the old node is not a child
16 $parent->replaceChild($child3, $child1);
H A DDOMNode_replaceChild_basic.phpt18 $old_child = $parent->replaceChild($new_child, $parent->firstChild);
24 $parent->replaceChild($new_child, $parent->firstChild);
30 $parent->replaceChild($new_child, $parent->firstChild);
H A Dgh14702.phpt28 $toReplace->parentNode->replaceChild($xi, $toReplace);
H A Dgh11288.phpt22 $span->parentNode?->replaceChild($fragment, $span);
/php-src/ext/dom/
H A Dphp_dom.stub.php469 public function replaceChild(DOMNode $node, DOMNode $child) {} function in DOMNode
1456 public function replaceChild(Node $node, Node $child): Node {} function in Dom\\Node
H A Dnode.c1249 PHP_METHOD(DOMNode, replaceChild) in PHP_METHOD() argument
1254 PHP_METHOD(Dom_Node, replaceChild) in PHP_METHOD() argument
H A Dphp_dom_arginfo.h1155 ZEND_METHOD(DOMNode, replaceChild);
1272 ZEND_METHOD(Dom_Node, replaceChild);
1380 ZEND_ME(DOMNode, replaceChild, arginfo_class_DOMNode_replaceChild, ZEND_ACC_PUBLIC)
1593 ZEND_ME(Dom_Node, replaceChild, arginfo_class_Dom_Node_replaceChild, ZEND_ACC_PUBLIC)
/php-src/build/
H A Dgen_stub.php5625 $manualTermElement->parentNode->replaceChild($newTermElement, $manualTermElement);
5665 $entry->parentNode->replaceChild($newEntryElement, $entry);
6086 $originalSynopsis->parentNode->replaceChild($newSynopsis, $originalSynopsis);

Completed in 45 milliseconds