Searched refs:replaceChild (Results 1 – 14 of 14) sorted by relevance
/PHP-8.4/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-8.4/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-8.4/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 | 1150 ZEND_METHOD(DOMNode, replaceChild); 1267 ZEND_METHOD(Dom_Node, replaceChild); 1374 ZEND_ME(DOMNode, replaceChild, arginfo_class_DOMNode_replaceChild, ZEND_ACC_PUBLIC) 1587 ZEND_ME(Dom_Node, replaceChild, arginfo_class_Dom_Node_replaceChild, ZEND_ACC_PUBLIC)
|
/PHP-8.4/build/ |
H A D | gen_stub.php | 5486 $manualTermElement->parentNode->replaceChild($newTermElement, $manualTermElement); 5526 $entry->parentNode->replaceChild($newEntryElement, $entry); 5947 $originalSynopsis->parentNode->replaceChild($newSynopsis, $originalSynopsis);
|
Completed in 53 milliseconds