/PHP-8.2/ext/dom/tests/ |
H A D | bug81642.phpt | 2 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 D | gh11625.phpt | 2 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 D | DOMCharacterData_replaceWith_self.phpt | 2 DOMCharacterData::replaceWith() with itself 10 $cdata->replaceWith($cdata);
|
H A D | DOM4_DOMNode_replaceWith.phpt | 2 DOMNode::replaceWith() 13 $element->replaceWith(
|
H A D | DOMParentNode_empty_argument.phpt | 24 $dom->documentElement->firstChild->replaceWith(...$emptyFragment->childNodes); 27 $dom->documentElement->replaceWith(...$emptyFragment->childNodes); 58 $cdata->replaceWith(...$emptyFragment->childNodes); 63 $cdata->replaceWith(...$emptyFragment->childNodes);
|
H A D | replaceWith_non_viable_next_sibling.phpt | 2 replaceWith() with a non-viable next sibling 23 $child->replaceWith($alone);
|
H A D | gh9142.phpt | 2 GH-9142 (DOMChildNode replaceWith() double-free error when replacing elements not separated by any … 13 $var->replaceWith($dom->createElement('p', $var->nodeValue));
|
H A D | gh11290.phpt | 2 GH-11290 (DOMElement::replaceWith causes crash) 22 $span->replaceWith(...$span->childNodes);
|
H A D | DOM4_ChildNode_wrong_document.phpt | 2 DOMChildNode::after(), before, replaceWith with DOMNode from wrong document throws exception 32 $element->replaceWith($dom2->documentElement->firstChild);
|
H A D | gh11288.phpt | 41 $span->replaceWith(...$span->childNodes); 60 $span->replaceWith('abc');
|
H A D | gh11289.phpt | 24 $div->replaceWith(...$fragment->childNodes);
|
H A D | fragments_multiple_nodes_DOMParentNode.phpt | 16 $container->replaceWith($fragment);
|
/PHP-8.2/ext/dom/tests/gh11830/ |
H A D | type_variation.phpt | 43 $doc->documentElement->firstElementChild->replaceWith($testElement, []); 55 DOMElement::replaceWith(): Argument #2 must be of type DOMNode|string, array given
|
H A D | hierarchy_variation.phpt | 45 $testElement->replaceWith($alone, $container);
|
H A D | attribute_variation.phpt | 40 $doc->documentElement->firstElementChild->replaceWith($doc->documentElement->attributes[0]);
|
H A D | document_variation.phpt | 51 $doc->documentElement->firstElementChild->replaceWith($testElement, $otherElement);
|
/PHP-8.2/ext/dom/ |
H A D | php_dom.stub.php | 291 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 D | characterdata.c | 399 PHP_METHOD(DOMCharacterData, replaceWith) in PHP_METHOD() argument
|
H A D | php_dom_arginfo.h | 538 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 D | element.c | 1287 PHP_METHOD(DOMElement, replaceWith) in PHP_METHOD() argument
|
/PHP-8.2/ |
H A D | NEWS | 1322 . 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
|