/PHP-8.4/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 | DOM4_ChildNode_wrong_document.phpt | 2 DOMChildNode::after(), before, replaceWith with DOMNode from wrong document throws exception 28 test("replaceWith");
|
H A D | DOMChildNode_methods_without_parent.phpt | 19 foreach (['before', 'after', 'replaceWith'] as $method) { 39 --- replaceWith ---
|
H A D | gh11290.phpt | 2 GH-11290 (DOMElement::replaceWith causes crash) 22 $span->replaceWith(...$span->childNodes);
|
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 | bug79968.phpt | 12 $cdata->replaceWith("string");
|
H A D | element_child_and_parent_node_without_document.phpt | 13 $element->replaceWith("REPLACE");
|
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 | parentnode_childnode_too_long_text.phpt | 60 $element->replaceWith('x', $str); 77 DOMElement::replaceWith(): Argument #2 must be less than or equal to 2147483647 bytes long
|
H A D | fragments_multiple_nodes_DOMParentNode.phpt | 16 $container->replaceWith($fragment);
|
/PHP-8.4/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 | 34 test("replaceWith");
|
H A D | attribute_variation.phpt | 40 $doc->documentElement->firstElementChild->replaceWith($doc->documentElement->attributes[0]);
|
H A D | document_variation.phpt | 41 test("replaceWith");
|
/PHP-8.4/ext/dom/ |
H A D | php_dom.stub.php | 307 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 1675 public function replaceWith(Node|string ...$nodes): void {} function in Dom\\Element 1785 public function replaceWith(Node|string ...$nodes): void {} function in Dom\\CharacterData 1857 public function replaceWith(Node|string ...$nodes): void {} function in Dom\\DocumentType
|
H A D | element.c | 1539 PHP_METHOD(DOMElement, replaceWith) in PHP_METHOD() argument
|
H A D | php_dom_arginfo.h | 1172 ZEND_METHOD(DOMElement, replaceWith); 1456 ZEND_ME(DOMElement, replaceWith, arginfo_class_DOMElement_replaceWith, ZEND_ACC_PUBLIC)
|