Searched refs:firstElementChild (Results 1 – 25 of 64) sorted by relevance
123
/PHP-8.4/ext/dom/tests/gh11830/ |
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 | document_variation.phpt | 25 $testElement = $doc->documentElement->firstElementChild->nextElementSibling->firstElementChild; 28 $doc->documentElement->firstElementChild->$method($testElement, $otherElement);
|
H A D | hierarchy_variation.phpt | 18 $alone = $container->firstElementChild; 19 $testElement = $alone->nextElementSibling->firstElementChild;
|
/PHP-8.4/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 | xpath_context_node.phpt | 21 foreach ($xpath->query("p", $dom->documentElement->firstElementChild->nextElementSibling) as $p) { 25 var_dump($xpath->evaluate("count(p)", $dom->documentElement->firstElementChild->nextElementSibling)…
|
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"]=>
|
/PHP-8.4/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();
|
/PHP-8.4/ext/dom/tests/modern/common/ |
H A D | namespace_sxe_interaction.phpt | 15 $dom->documentElement->firstElementChild->appendChild($dom->createElementNS('urn:c', 'c:child')); 18 var_dump($dom->documentElement->firstElementChild->firstElementChild->lookupNamespaceURI('c')); 20 var_dump($dom->documentElement->firstElementChild->firstElementChild->lookupNamespaceURI('b')); 22 var_dump($dom->documentElement->firstElementChild->firstElementChild->lookupNamespaceURI('a'));
|
H A D | template_no_default_ns.phpt | 19 var_dump($template->firstElementChild->tagName);
|
H A D | template_nested.phpt | 17 $template = $dom->body->firstElementChild;
|
/PHP-8.4/ext/dom/tests/compareDocumentPosition/ |
H A D | attribute_child_order.phpt | 24 $before = $dom->documentElement->firstElementChild; 26 $foo = $outer->firstElementChild; 27 $bar = $foo->nextElementSibling->firstElementChild->firstElementChild;
|
H A D | contains_attribute_longer_descendent.phpt | 19 $p = $container->firstElementChild->firstElementChild;
|
H A D | attribute_order_different_element.phpt | 17 $attrs1 = $dom->documentElement->firstElementChild->attributes; 18 $attrs2 = $dom->documentElement->firstElementChild->nextElementSibling->attributes;
|
/PHP-8.4/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_ns_imported_06.phpt | 9 $xml->documentElement->firstElementChild->appendChild($xml->createElementNS('some:ns2', 'child')); 16 $p = $html->documentElement->firstElementChild->nextElementSibling->firstElementChild; 17 $p->appendChild($html->adoptNode($xml->documentElement->firstElementChild->cloneNode(true)));
|
/PHP-8.4/ext/dom/tests/modern/spec/ |
H A D | bug47847.phpt | 17 $imported = $aDOM->importNode($fromdom->documentElement->firstElementChild, true); 22 var_dump($aDOM->documentElement->firstElementChild->prefix);
|
H A D | clone_conflicting_namespace_prefix.phpt | 21 $dom->documentElement->firstElementChild->setAttributeNS("urn:y", "a:foo", "bar"); 25 $clone = clone $dom->documentElement->firstElementChild;
|
Completed in 29 milliseconds
123