Home
last modified time | relevance | path

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

/php-src/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 DDOM4_ChildNode_wrong_document.phpt2 DOMChildNode::after(), before, replaceWith with DOMNode from wrong document throws exception
28 test("replaceWith");
H A DDOMChildNode_methods_without_parent.phpt19 foreach (['before', 'after', 'replaceWith'] as $method) {
39 --- replaceWith ---
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 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 Dparentnode_childnode_too_long_text.phpt60 $element->replaceWith('x', $str);
77 DOMElement::replaceWith(): Argument #2 must be less than or equal to 2147483647 bytes long
H A Dfragments_multiple_nodes_DOMParentNode.phpt16 $container->replaceWith($fragment);
/php-src/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.phpt34 test("replaceWith");
H A Dattribute_variation.phpt40 $doc->documentElement->firstElementChild->replaceWith($doc->documentElement->attributes[0]);
H A Ddocument_variation.phpt41 test("replaceWith");
/php-src/ext/dom/
H A Dphp_dom.stub.php307 public function replaceWith(...$nodes): void; function
666 public function replaceWith(...$nodes): void {} function in DOMCharacterData
838 public function replaceWith(...$nodes): void {} function in DOMElement
1339 public function replaceWith(Node|string ...$nodes): void; function
1676 public function replaceWith(Node|string ...$nodes): void {} function in Dom\\Element
1789 public function replaceWith(Node|string ...$nodes): void {} function in Dom\\CharacterData
1861 public function replaceWith(Node|string ...$nodes): void {} function in Dom\\DocumentType
H A Delement.c1539 PHP_METHOD(DOMElement, replaceWith) in PHP_METHOD() argument
H A Dphp_dom_arginfo.h1177 ZEND_METHOD(DOMElement, replaceWith);
1462 ZEND_ME(DOMElement, replaceWith, arginfo_class_DOMElement_replaceWith, ZEND_ACC_PUBLIC)

Completed in 42 milliseconds