Searched refs:firstChild (Results 1 – 25 of 116) sorted by relevance
12345
/PHP-8.4/ext/dom/tests/ |
H A D | bug38474.phpt | 18 echo $dom->firstChild->getAttribute('type')."\n"; 19 echo $dom->firstChild->getAttribute('pre:type')."\n"; 21 $dom->firstChild->setAttribute('pre:type', 'bar2'); 22 $dom->firstChild->setAttribute('type', 'foo2'); 23 $dom->firstChild->setAttribute('post:type', 'baz'); 24 $dom->firstChild->setAttribute('new:type', 'baz2'); 26 echo $dom->firstChild->getAttribute('type')."\n"; 30 $dom->firstChild->removeAttribute('pre:type'); 31 $dom->firstChild->removeAttribute('type'); 33 echo $dom->firstChild->getAttribute('type')."\n"; [all …]
|
H A D | DOMElement_prepend_hierarchy_test.phpt | 13 $b_hello = $dom->firstChild->firstChild; 20 $b_hello = $dom->firstChild->firstChild; 22 $b_hello->prepend($b_world->firstChild); 27 $b_hello = $dom->firstChild->firstChild; 34 $b_hello = $dom->firstChild->firstChild; 36 $b_world->firstChild->prepend($b_hello); 41 $b_hello = $dom->firstChild->firstChild; 48 $b_hello = $dom->firstChild->firstChild; 58 $b_hello = $dom->firstChild->firstChild; 68 $b_hello = $dom->firstChild->firstChild; [all …]
|
H A D | DOMElement_append_hierarchy_test.phpt | 13 $b_hello = $dom->firstChild->firstChild; 20 $b_hello = $dom->firstChild->firstChild; 22 $b_hello->append($b_world->firstChild); 27 $b_hello = $dom->firstChild->firstChild; 34 $b_hello = $dom->firstChild->firstChild; 36 $b_world->firstChild->append($b_hello); 41 $b_hello = $dom->firstChild->firstChild; 51 $b_hello = $dom->firstChild->firstChild; 61 $b_hello = $dom->firstChild->firstChild; 64 $b_world->firstChild->append($b_world); [all …]
|
H A D | bug80602.phpt | 11 $target = $doc->documentElement->firstChild; 24 $target = $doc->documentElement->firstChild; 37 $target = $doc->documentElement->firstChild; 43 $target = $doc->documentElement->firstChild; 63 $target = $doc->documentElement->firstChild; 76 $target = $doc->documentElement->firstChild; 82 $target = $doc->documentElement->firstChild; 88 $target = $doc->documentElement->firstChild; 116 $target = $doc->documentElement->firstChild; 123 $target = $doc->documentElement->firstChild; [all …]
|
H A D | bug80602_2.phpt | 11 $target = $doc->documentElement->firstChild; 24 $target = $doc->documentElement->firstChild; 37 $target = $doc->documentElement->firstChild; 43 $target = $doc->documentElement->firstChild; 63 $target = $doc->documentElement->firstChild; 76 $target = $doc->documentElement->firstChild; 82 $target = $doc->documentElement->firstChild; 88 $target = $doc->documentElement->firstChild; 116 $target = $doc->documentElement->firstChild; 123 $target = $doc->documentElement->firstChild; [all …]
|
H A D | bug42082.phpt | 16 var_dump($doc->firstChild->nodeValue, empty($doc->firstChild->nodeValue), isset($doc->firstChild->n… 17 var_dump(empty($doc->nodeType), empty($doc->firstChild->nodeType))
|
H A D | bug32615.phpt | 21 $root->replaceChild($frag, $root->firstChild); 36 $root->insertBefore($frag, $root->firstChild); 45 $root->replaceChild($frag, $root->firstChild->nextSibling); 47 $root->removeChild($root->firstChild); 52 $root->removeChild($root->firstChild); 56 $root->insertBefore($frag, $root->firstChild); 69 $root->replaceChild($frag, $root->firstChild);
|
H A D | entity_reference_stale_03.phpt | 8 foreach (['firstChild', 'lastChild', 'textContent', 'childNodes'] as $prop) { 16 $ref = $dom->documentElement->firstChild; 17 $decl = $ref->firstChild;
|
H A D | DOM4_DOMNode_remove.phpt | 13 print_node($element->firstChild); 14 $returnValue = $element->firstChild->remove(); 15 print_node($element->firstChild);
|
H A D | entity_reference_stale_01.phpt | 16 $ref = $dom->documentElement->firstChild; 17 $decl = $ref->firstChild; 24 var_dump($ref->firstChild);
|
H A D | bug80602_4.phpt | 10 $foo = $doc->firstChild->firstChild; 11 $bar = $doc->firstChild->lastChild;
|
H A D | DOMDocument_adoptNode.phpt | 13 $b_tag_element = $doc1->firstChild->firstChild; 22 $doc2->firstChild->appendChild($b_tag_element); // Should fail because it's another document 35 $doc2->firstChild->appendChild($adopted); 42 $adopted = $doc1->adoptNode($doc1->firstChild->firstChild); 68 $attribute = $doc3->firstChild->attributes->item(0); 90 $p_tag_element = $doc4->firstChild->nextSibling; 96 $doc3->firstChild->appendChild($entity_reference);
|
H A D | bug40836.phpt | 22 $contentNode = $entry->getElementsByTagName("content")->item(0)->firstChild; 23 $dateNode = $entry->getElementsByTagName("updated")->item(0)->firstChild; 24 $contentNode->firstChild->insertBefore($dateNode);
|
H A D | entity_reference_stale_02.phpt | 18 $ref = $dom->documentElement->firstChild; 19 $decl = $ref->firstChild;
|
H A D | bug80602_3.phpt | 11 $target->before('bar', $doc->documentElement->firstChild, 'baz'); 19 $target->after('bar', $doc->documentElement->firstChild, 'baz'); 57 ["firstChild"]=> 114 ["firstChild"]=>
|
/PHP-8.4/ext/xsl/tests/ |
H A D | bug69168.phpt | 36 var_dump($xmlDoc->firstChild->firstChild->firstChild->getNodePath()); 37 var_dump($xmlDoc->firstChild->firstChild->firstChild->nodeValue);
|
/PHP-8.4/ext/dom/tests/modern/spec/ |
H A D | text_merging.phpt | 16 var_dump($element->firstChild->textContent); 17 var_dump($element->firstChild->nextSibling->textContent); 18 var_dump($element->firstChild->nextSibling->nextSibling->textContent); 23 var_dump($element->firstChild->textContent); 24 var_dump($element->firstChild->nextSibling->textContent);
|
H A D | clone_entity_reference.phpt | 19 var_dump($clone->firstChild->firstChild); 47 ["firstChild"]=>
|
H A D | clone_text_nodes.phpt | 23 var_dump($clone->firstChild->textContent); 24 var_dump($clone->firstChild->nextSibling->textContent); 25 var_dump($clone->firstChild->nextSibling->nextSibling->textContent);
|
/PHP-8.4/ext/dom/tests/modern/html/interactions/ |
H A D | HTMLDocument_clone.phpt | 11 var_dump($dom2->firstChild->tagName); 12 var_dump($dom2->firstChild->textContent); 14 $element = $dom2->firstChild;
|
H A D | getLineNo_65536.phpt | 16 var_dump($dom->documentElement->firstChild->nextSibling->firstChild->nextSibling->getLineNo());
|
/PHP-8.4/ext/dom/tests/compareDocumentPosition/ |
H A D | entity.phpt | 33 var_dump($entities[0]->compareDocumentPosition($child->firstChild) === DOMNode::DOCUMENT_POSITION_F… 34 var_dump($entities[1]->compareDocumentPosition($child->firstChild) === DOMNode::DOCUMENT_POSITION_F… 38 var_dump($child->firstChild->compareDocumentPosition($entities[0]) === DOMNode::DOCUMENT_POSITION_P… 39 var_dump($child->firstChild->compareDocumentPosition($entities[1]) === DOMNode::DOCUMENT_POSITION_P…
|
/PHP-8.4/ext/pdo_sqlite/tests/ |
H A D | gh14712.phpt | 12 …$db->query("select 1 as queryStringxx")->fetch(PDO::FETCH_LAZY)->documentElement->firstChild->next… 18 Attempt to modify property "firstChild" on null
|
/PHP-8.4/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_escape_attribute.phpt | 9 $p = $dom->documentElement->firstChild->nextSibling->firstChild;
|
H A D | HTMLDocument_serialize_text_01.phpt | 9 $p = $dom->documentElement->firstChild->nextSibling->firstChild;
|
Completed in 22 milliseconds
12345