Home
last modified time | relevance | path

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

/PHP-8.3/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 DDOMChildNode_methods_without_parent.phpt19 foreach (['before', 'after', 'replaceWith'] as $method) {
39 --- replaceWith ---
H A Dgh11290.phpt2 GH-11290 (DOMElement::replaceWith causes crash)
22 $span->replaceWith(...$span->childNodes);
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 DDOM4_ChildNode_wrong_document.phpt2 DOMChildNode::after(), before, replaceWith with DOMNode from wrong document throws exception
32 $element->replaceWith($dom2->documentElement->firstChild);
H A Dbug79968.phpt12 $cdata->replaceWith("string");
H A Delement_child_and_parent_node_without_document.phpt13 $element->replaceWith("REPLACE");
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.3/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.3/ext/dom/
H A Dphp_dom.stub.php294 public function replaceWith(...$nodes): void; function
535 public function replaceWith(...$nodes): void {} function in DOMCharacterData
664 public function replaceWith(...$nodes): void {} function in DOMElement
H A Dcharacterdata.c372 PHP_METHOD(DOMCharacterData, replaceWith) in PHP_METHOD() argument
H A Dphp_dom_arginfo.h583 ZEND_METHOD(DOMCharacterData, replaceWith);
613 ZEND_METHOD(DOMElement, replaceWith);
732 …ZEND_ABSTRACT_ME_WITH_FLAGS(DOMChildNode, replaceWith, arginfo_class_DOMChildNode_replaceWith, ZEN…
804 ZEND_ME(DOMCharacterData, replaceWith, arginfo_class_DOMCharacterData_replaceWith, ZEND_ACC_PUBLIC)
844 ZEND_ME(DOMElement, replaceWith, arginfo_class_DOMElement_replaceWith, ZEND_ACC_PUBLIC)
H A Delement.c1382 PHP_METHOD(DOMElement, replaceWith) in PHP_METHOD() argument
/PHP-8.3/
H A DUPGRADING53 . DOMChildNode::after(), DOMChildNode::before(), DOMChildNode::replaceWith()

Completed in 61 milliseconds