Home
last modified time | relevance | path

Searched refs:replaceWith (Results 1 – 21 of 21) sorted by relevance

/PHP-8.2/ext/dom/tests/
H A Dbug81642.phpt2 Bug #81642 (DOMChildNode::replaceWith() bug when replacing a node with itself)
11 $target->replaceWith($target);
17 $target->replaceWith($target, $doc->createElement('foo'));
23 $target->replaceWith($target, 'foo');
29 $target->replaceWith('bar', $target, 'foo');
H A Dgh11625.phpt2 GH-11625 (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes …
32 $div->replaceWith($fragment);
40 $div->replaceWith($fragment, $dom->createElement('x'), "hello");
47 $div->replaceWith($fragment);
H A DDOMCharacterData_replaceWith_self.phpt2 DOMCharacterData::replaceWith() with itself
10 $cdata->replaceWith($cdata);
H A DDOM4_DOMNode_replaceWith.phpt2 DOMNode::replaceWith()
13 $element->replaceWith(
H A DDOMParentNode_empty_argument.phpt24 $dom->documentElement->firstChild->replaceWith(...$emptyFragment->childNodes);
27 $dom->documentElement->replaceWith(...$emptyFragment->childNodes);
58 $cdata->replaceWith(...$emptyFragment->childNodes);
63 $cdata->replaceWith(...$emptyFragment->childNodes);
H A DreplaceWith_non_viable_next_sibling.phpt2 replaceWith() with a non-viable next sibling
23 $child->replaceWith($alone);
H A Dgh9142.phpt2 GH-9142 (DOMChildNode replaceWith() double-free error when replacing elements not separated by any …
13 $var->replaceWith($dom->createElement('p', $var->nodeValue));
H A Dgh11290.phpt2 GH-11290 (DOMElement::replaceWith causes crash)
22 $span->replaceWith(...$span->childNodes);
H A DDOM4_ChildNode_wrong_document.phpt2 DOMChildNode::after(), before, replaceWith with DOMNode from wrong document throws exception
32 $element->replaceWith($dom2->documentElement->firstChild);
H A Dgh11288.phpt41 $span->replaceWith(...$span->childNodes);
60 $span->replaceWith('abc');
H A Dgh11289.phpt24 $div->replaceWith(...$fragment->childNodes);
H A Dfragments_multiple_nodes_DOMParentNode.phpt16 $container->replaceWith($fragment);
/PHP-8.2/ext/dom/tests/gh11830/
H A Dtype_variation.phpt43 $doc->documentElement->firstElementChild->replaceWith($testElement, []);
55 DOMElement::replaceWith(): Argument #2 must be of type DOMNode|string, array given
H A Dhierarchy_variation.phpt45 $testElement->replaceWith($alone, $container);
H A Dattribute_variation.phpt40 $doc->documentElement->firstElementChild->replaceWith($doc->documentElement->attributes[0]);
H A Ddocument_variation.phpt51 $doc->documentElement->firstElementChild->replaceWith($testElement, $otherElement);
/PHP-8.2/ext/dom/
H A Dphp_dom.stub.php291 public function replaceWith(...$nodes): void; function
511 public function replaceWith(...$nodes): void {} function in DOMCharacterData
632 public function replaceWith(...$nodes): void {} function in DOMElement
H A Dcharacterdata.c399 PHP_METHOD(DOMCharacterData, replaceWith) in PHP_METHOD() argument
H A Dphp_dom_arginfo.h538 ZEND_METHOD(DOMCharacterData, replaceWith);
566 ZEND_METHOD(DOMElement, replaceWith);
680 …ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, replaceWith, arginfo_class_DOMChildNode_replaceWith, ZEN…
748 ZEND_ME(DOMCharacterData, replaceWith, arginfo_class_DOMCharacterData_replaceWith, ZEND_ACC_PUBLIC)
786 ZEND_ME(DOMElement, replaceWith, arginfo_class_DOMElement_replaceWith, ZEND_ACC_PUBLIC)
H A Delement.c1287 PHP_METHOD(DOMElement, replaceWith) in PHP_METHOD() argument
/PHP-8.2/
H A DNEWS1322 . Fix DOMCharacterData::replaceWith() with itself. (nielsdos)
1330 . Fix viable next sibling search for replaceWith. (nielsdos)
1401 . Fixed bug GH-11625 (DOMElement::replaceWith() doesn't replace node with
1490 and segfaults with replaceWith). (nielsdos)
1502 . Fixed bug #81642 (DOMChildNode::replaceWith() bug when replacing a node

Completed in 33 milliseconds