Searched refs:replaceChild (Results 1 – 14 of 14) sorted by relevance
/php-src/ext/dom/tests/modern/spec/ |
H A D | Node_replaceChild_edge_cases.phpt | 2 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 D | bug32615.phpt | 21 $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 D | gh16593.phpt | 2 GH-16593 (Assertion failure in DOM->replaceChild) 12 $root->replaceChild($doc->createAttribute('foo'), $child);
|
H A D | DOMNode_replaceChild_error2.phpt | 2 replaceChild() where the new node is a grandparent of the old node 14 $b->replaceChild($a, $c);
|
H A D | replaceChild_attribute_validation.phpt | 2 replaceChild with attribute children 13 $attr->replaceChild($dom->createProcessingInstruction('pi'), $attr->firstChild);
|
H A D | bug79451.phpt | 2 Bug #79451 (Using DOMDocument->replaceChild on doctype causes double free) 11 $dom->replaceChild($dt, $dom->doctype);
|
H A D | DOMNode_replaceChild_error1.phpt | 2 replaceChild() where the old node is not a child 16 $parent->replaceChild($child3, $child1);
|
H A D | DOMNode_replaceChild_basic.phpt | 18 $old_child = $parent->replaceChild($new_child, $parent->firstChild); 24 $parent->replaceChild($new_child, $parent->firstChild); 30 $parent->replaceChild($new_child, $parent->firstChild);
|
H A D | gh14702.phpt | 28 $toReplace->parentNode->replaceChild($xi, $toReplace);
|
H A D | gh11288.phpt | 22 $span->parentNode?->replaceChild($fragment, $span);
|
/php-src/ext/dom/ |
H A D | php_dom.stub.php | 469 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 D | node.c | 1249 PHP_METHOD(DOMNode, replaceChild) in PHP_METHOD() argument 1254 PHP_METHOD(Dom_Node, replaceChild) in PHP_METHOD() argument
|
H A D | php_dom_arginfo.h | 1155 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 D | gen_stub.php | 5625 $manualTermElement->parentNode->replaceChild($newTermElement, $manualTermElement); 5665 $entry->parentNode->replaceChild($newEntryElement, $entry); 6086 $originalSynopsis->parentNode->replaceChild($newSynopsis, $originalSynopsis);
|
Completed in 52 milliseconds