Home
last modified time | relevance | path

Searched refs:firstElementChild (Results 1 – 25 of 36) sorted by relevance

12

/PHP-8.3/ext/dom/tests/gh11830/
H A Ddocument_variation.phpt24 $testElement = $doc->documentElement->firstElementChild->nextElementSibling->firstElementChild;
27 $doc->documentElement->firstElementChild->prepend($testElement, $otherElement);
33 $doc->documentElement->firstElementChild->append($testElement, $otherElement);
39 $doc->documentElement->firstElementChild->before($testElement, $otherElement);
45 $doc->documentElement->firstElementChild->after($testElement, $otherElement);
51 $doc->documentElement->firstElementChild->replaceWith($testElement, $otherElement);
H A Dtype_variation.phpt16 $testElement = $doc->documentElement->firstElementChild->nextElementSibling->firstElementChild;
19 $doc->documentElement->firstElementChild->prepend($testElement, 0);
25 $doc->documentElement->firstElementChild->append($testElement, true);
31 $doc->documentElement->firstElementChild->before($testElement, null);
37 $doc->documentElement->firstElementChild->after($testElement, new stdClass);
43 $doc->documentElement->firstElementChild->replaceWith($testElement, []);
H A Dattribute_variation.phpt16 $doc->documentElement->firstElementChild->prepend($doc->documentElement->attributes[0]);
22 $doc->documentElement->firstElementChild->append($doc->documentElement->attributes[0]);
28 $doc->documentElement->firstElementChild->before($doc->documentElement->attributes[0]);
34 $doc->documentElement->firstElementChild->after($doc->documentElement->attributes[0]);
40 $doc->documentElement->firstElementChild->replaceWith($doc->documentElement->attributes[0]);
H A Dhierarchy_variation.phpt17 $alone = $container->firstElementChild;
18 $testElement = $alone->nextElementSibling->firstElementChild;
/PHP-8.3/ext/dom/tests/
H A DDOMNode_contains.phpt48 var_dump($main->contains($main->firstElementChild));
49 var_dump($main->contains($div->firstElementChild));
50 var_dump($div->contains($div->firstElementChild));
51 var_dump($main->contains($main->firstElementChild->firstChild));
58 var_dump($main->firstElementChild->contains($main));
61 var_dump($main->contains($head->firstElementChild));
62 var_dump($div->contains($main->firstElementChild));
63 var_dump($div->contains($main->firstElementChild->nextElementSibling));
H A DDOM4_ParentNode.phpt13 print_node($dom->firstElementChild);
19 print_node($element->firstElementChild);
22 var_dump($element->lastElementChild->firstElementChild);
H A DDOMElement_toggleAttribute.phpt66 var_dump($dom->documentElement->firstElementChild->toggleAttribute('foo:test'));
67 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test'));
68 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test2', false));
74 var_dump($dom->documentElement->firstElementChild->getAttributeNode('foo:test')->namespaceURI);
76 var_dump($dom->documentElement->firstElementChild->getAttributeNode('doesnotexist:test')->namespace…
80 var_dump($dom->documentElement->firstElementChild->toggleAttribute('foo:test'));
81 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test'));
82 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test2', true));
83 var_dump($dom->documentElement->firstElementChild->toggleAttribute('doesnotexist:test3', false));
H A DreplaceWith_non_viable_next_sibling.phpt18 $child = $container->firstElementChild;
19 $alone = $child->firstElementChild;
H A Dbug70359.phpt27 $spaceNode = $dom->documentElement->firstElementChild->getAttributeNode('myattrib');
31 $dom->documentElement->firstElementChild->remove();
43 $spaceNode = $dom->documentElement->firstElementChild->getAttributeNode('xmlns:xsi');
46 $dom->documentElement->firstElementChild->remove();
H A DDOM4_ParentNode_Fragment.phpt19 print_node($fragment->firstElementChild);
22 var_dump($fragment->lastElementChild->firstElementChild);
H A DDOM4_DOMNode_ElementSiblings.phpt13 print_node($element->firstElementChild->nextElementSibling);
H A DDOM4_DOMNode_after.phpt12 $element = $dom->documentElement->firstElementChild;
H A DDOM4_DOMNode_before.phpt12 $element = $dom->documentElement->firstElementChild;
H A Dbug80602_3.phpt35 ["firstElementChild"]=>
92 ["firstElementChild"]=>
H A DDOMChildNode_methods_without_parent.phpt16 $child = $container->firstElementChild;
H A DDOMNode_getRootNode.phpt11 var_dump($dom->documentElement->firstElementChild->getRootNode() === $dom);
H A Dbug47847.phpt20 $imported = $aDOM->importNode($fromdom->documentElement->firstElementChild, true);
H A Dgh11906.phpt16 $child = $container->firstElementChild;
H A Dfragments_multiple_nodes_DOMParentNode.phpt11 $container = $dom->documentElement->firstElementChild;
H A DDOMNode_DOMNameSpaceNode_parentElement.phpt18 $body = $dom->documentElement->firstElementChild;
H A Dclone_nodes.phpt38 $doc->firstElementChild->remove();
H A Dreconcile_reused_namespace.phpt19 $root = $dom->firstElementChild;
H A DDOMElement_insertAdjacentElement.phpt11 $p = $container->firstElementChild;
38 $p = $container->firstElementChild;
/PHP-8.3/ext/dom/tests/delayed_freeing/
H A Dgh9628_1.phpt20 $outer_span = $doc->documentElement->firstElementChild;
21 $inner_span = $outer_span->firstElementChild->firstElementChild;
25 $outer_span->firstElementChild->remove();
H A Delement_declaration.phpt17 $element = $doc->documentElement->firstElementChild;

Completed in 33 milliseconds

12