Searched refs:firstElementChild (Results 1 – 25 of 36) sorted by relevance
12
/PHP-8.3/ext/dom/tests/gh11830/ |
H A D | document_variation.phpt | 24 $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 D | type_variation.phpt | 16 $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 D | attribute_variation.phpt | 16 $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 D | hierarchy_variation.phpt | 17 $alone = $container->firstElementChild; 18 $testElement = $alone->nextElementSibling->firstElementChild;
|
/PHP-8.3/ext/dom/tests/ |
H A D | DOMNode_contains.phpt | 48 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 D | DOM4_ParentNode.phpt | 13 print_node($dom->firstElementChild); 19 print_node($element->firstElementChild); 22 var_dump($element->lastElementChild->firstElementChild);
|
H A D | DOMElement_toggleAttribute.phpt | 66 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 D | replaceWith_non_viable_next_sibling.phpt | 18 $child = $container->firstElementChild; 19 $alone = $child->firstElementChild;
|
H A D | bug70359.phpt | 27 $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 D | DOM4_ParentNode_Fragment.phpt | 19 print_node($fragment->firstElementChild); 22 var_dump($fragment->lastElementChild->firstElementChild);
|
H A D | DOM4_DOMNode_ElementSiblings.phpt | 13 print_node($element->firstElementChild->nextElementSibling);
|
H A D | DOM4_DOMNode_after.phpt | 12 $element = $dom->documentElement->firstElementChild;
|
H A D | DOM4_DOMNode_before.phpt | 12 $element = $dom->documentElement->firstElementChild;
|
H A D | bug80602_3.phpt | 35 ["firstElementChild"]=> 92 ["firstElementChild"]=>
|
H A D | DOMChildNode_methods_without_parent.phpt | 16 $child = $container->firstElementChild;
|
H A D | DOMNode_getRootNode.phpt | 11 var_dump($dom->documentElement->firstElementChild->getRootNode() === $dom);
|
H A D | bug47847.phpt | 20 $imported = $aDOM->importNode($fromdom->documentElement->firstElementChild, true);
|
H A D | gh11906.phpt | 16 $child = $container->firstElementChild;
|
H A D | fragments_multiple_nodes_DOMParentNode.phpt | 11 $container = $dom->documentElement->firstElementChild;
|
H A D | DOMNode_DOMNameSpaceNode_parentElement.phpt | 18 $body = $dom->documentElement->firstElementChild;
|
H A D | clone_nodes.phpt | 38 $doc->firstElementChild->remove();
|
H A D | reconcile_reused_namespace.phpt | 19 $root = $dom->firstElementChild;
|
H A D | DOMElement_insertAdjacentElement.phpt | 11 $p = $container->firstElementChild; 38 $p = $container->firstElementChild;
|
/PHP-8.3/ext/dom/tests/delayed_freeing/ |
H A D | gh9628_1.phpt | 20 $outer_span = $doc->documentElement->firstElementChild; 21 $inner_span = $outer_span->firstElementChild->firstElementChild; 25 $outer_span->firstElementChild->remove();
|
H A D | element_declaration.phpt | 17 $element = $doc->documentElement->firstElementChild;
|
Completed in 33 milliseconds
12