/php-src/ext/dom/tests/ |
H A D | DOMNode_replaceChild_error1.phpt | 8 $real_parent = $document->createElement('real'); 9 $parent = $document->createElement('p'); 10 $child1 = $document->createElement('child1'); 11 $child2 = $document->createElement('child2'); 12 $child3 = $document->createElement('child3');
|
H A D | DOMElement_insertAdjacentElement.phpt | 15 var_dump($dom->createElement('free')->insertAdjacentElement("beforebegin", $dom->createElement('ele… 16 var_dump($dom->createElement('free')->insertAdjacentElement("afterend", $dom->createElement('elemen… 19 …var_dump($dom->createElement('free')->insertAdjacentElement("bogus", $dom->createElement('element'… 26 $element = $dom->createElement('free'); 27 $child = $element->appendChild($dom->createElement('child')); 41 … var_dump($p->insertAdjacentElement($transform("beforebegin"), $dom->createElement('A'))->tagName); 44 … var_dump($p->insertAdjacentElement($transform("afterbegin"), $dom->createElement('B'))->tagName); 47 var_dump($p->insertAdjacentElement($transform("beforeend"), $dom->createElement('C'))->tagName); 50 var_dump($p->insertAdjacentElement($transform("afterend"), $dom->createElement('D'))->tagName); 62 $empty = $dom->createElement('empty'); [all …]
|
H A D | DOMNode_removeChild_error1.phpt | 8 $real_parent = $document->createElement('real'); 9 $parent = $document->createElement('p'); 10 $child1 = $document->createElement('child1'); 11 $child2 = $document->createElement('child2');
|
H A D | bug65196.phpt | 13 $div = $dom->createElement('div'); 14 $div->appendChild($dom->createElement('span')); 16 $frag2->appendChild($dom->createElement('div')); 17 $frag2->appendChild($dom->createElement('div'));
|
H A D | bug81642.phpt | 10 $doc->appendChild($target = $doc->createElement('test')); 16 $doc->appendChild($target = $doc->createElement('test')); 17 $target->replaceWith($target, $doc->createElement('foo')); 22 $doc->appendChild($target = $doc->createElement('test')); 28 $doc->appendChild($target = $doc->createElement('test'));
|
H A D | DOMNode_replaceChild_error2.phpt | 8 $a = $document->createElement('a'); 9 $b = $document->createElement('b'); 10 $c = $document->createElement('c');
|
H A D | fragments_multiple_nodes_DOMParentNode.phpt | 14 $fragment->appendChild($dom->createElement('p', '1')); 15 $fragment->appendChild($dom->createElement('b', '2')); 23 $fragment->appendChild($dom->createElement('p', '3')); 24 $fragment->appendChild($dom->createElement('b', '4'));
|
H A D | gh11682.phpt | 12 $dom->createElement('foo1'), 13 $dom->createElement('foo2'), 14 $dom->createElement('foo3')
|
H A D | DOMDocument_saveHTML_variant1.phpt | 8 $root = $doc->createElement('html'); 10 $head = $doc->createElement('head'); 12 $title = $doc->createElement('title');
|
H A D | DOMDocument_saveHTML_basic.phpt | 11 $root = $doc->createElement('html'); 13 $head = $doc->createElement('head'); 15 $title = $doc->createElement('title');
|
H A D | DOMNode_normalize_advanced.phpt | 9 $root = $dom->appendChild($dom->createElement("root")); 10 $child1 = $root->appendChild($dom->createElement("child1")); 11 $child2 = $root->appendChild($dom->createElement("child2"));
|
H A D | DOMDocument_saveHTMLFile_invalid_filename.phpt | 12 $root = $doc->createElement('html'); 14 $head = $doc->createElement('head'); 16 $title = $doc->createElement('title');
|
H A D | DOMElement_replaceChildren.phpt | 27 $dom->documentElement->replaceChildren('foo', $dom->createElement('p'), 'bar'); 31 $fragment1->appendChild($dom->createElement('a')); 32 $fragment1->appendChild($dom->createElement('b')); 45 $old = $fragment->appendChild($dom->createElement('p', 'test')); 46 $fragment->replaceChildren($dom->createElement('b', 'test'));
|
H A D | DOMDocument_saveHTMLFile_formatOutput_gte_2_13.phpt | 17 $root = $doc->createElement('html'); 19 $head = $doc->createElement('head'); 21 $title = $doc->createElement('title');
|
H A D | dom006.phpt | 10 $titleElement = $this->createElement("title"); 12 $authorElement = $this->createElement("author"); 15 $bookElement = $this->createElement("book");
|
H A D | DOMDocument_saveHTML_basic_gte_2_13.phpt | 16 $root = $doc->createElement('html'); 18 $head = $doc->createElement('head'); 20 $title = $doc->createElement('title');
|
/php-src/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_fragment.phpt | 10 $fragment->appendChild($dom->createElement("foo")); 11 $bar = $fragment->appendChild($dom->createElement("bar")); 12 $fragment->appendChild($dom->createElement("baz")); 13 $bar->appendChild($dom->createElement("inner"));
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | Document_createElement.phpt | 2 Document::createElement() 13 $element = $dom->createElement("HTML"); 17 $element = $dom->createElement("HEad"); 23 $element = $dom->createElement("HTML"); 26 $element = $dom->createElement("HEad"); 34 $element = $dom->createElement("HEad");
|
H A D | Document_createElement_edge_cases.phpt | 2 Document::createElement() edge cases 10 $dom->createElement(''); 15 $dom->createElement('$');
|
H A D | Node_appendChild_invalid_parent.phpt | 16 $text->appendChild($dom->createElement('br')); 22 $cdata->appendChild($dom->createElement('br')); 28 $pi->appendChild($dom->createElement('br')); 34 $attr->appendChild($dom->createElement('br'));
|
H A D | Node_replaceChild_edge_cases.phpt | 10 $parent = $dom->createElement("parent"); 11 $child = $dom->createElement("child"); 19 $comment->replaceChild($comment, $dom->createElement("old-child")); 41 $parent->replaceChild($dom->createElement("new-child"), $dom->createElement("old-child")); 74 $fragment->appendChild($dom->createElement("new-child1")); 75 $fragment->appendChild($dom->createElement("new-child2")); 87 $dom->replaceChild($dom->createElement("new-child"), $comment); 95 $dom->replaceChild($dom->createElement("new-child"), $dom->doctype); 116 $fragment->appendChild($dom->createElement("new-child"));
|
/php-src/ext/dom/tests/modern/xml/ |
H A D | XMLDocument_saveXML_node.phpt | 9 $root = $dom->appendChild($dom->createElement("root")); 10 $child1 = $root->appendChild($dom->createElement("child1")); 11 $child2 = $root->appendChild($dom->createElement("child2"));
|
/php-src/ext/dom/tests/delayed_freeing/ |
H A D | element_uaf_crash.phpt | 8 $d = $xml->createElement("div"); 9 $d->appendChild($b = $xml->createElement("b")); 10 $ret = $d->appendChild($xml->createElement("xxx"));
|
/php-src/ext/dom/tests/bug79701/ |
H A D | prepend.phpt | 8 $root = $dom->createElement('html'); 11 $el1 = $dom->createElement('p1'); 17 $el2 = $dom->createElement('p2');
|
/php-src/ext/dom/tests/modern/common/ |
H A D | Element_insertAdjacentElement.phpt | 12 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::BeforeBegin, $dom->createElement('A'))->ta… 15 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::AfterBegin, $dom->createElement('B'))->tag… 18 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::BeforeEnd, $dom->createElement('C'))->tagN… 21 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::AfterEnd, $dom->createElement('D'))->tagNa…
|