Home
last modified time | relevance | path

Searched refs:firstChild (Results 1 – 25 of 123) sorted by relevance

12345

/php-src/ext/dom/tests/
H A Dbug38474.phpt18 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 DDOMElement_prepend_hierarchy_test.phpt13 $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 DDOMElement_append_hierarchy_test.phpt13 $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 Dbug80602.phpt11 $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 Dbug80602_2.phpt11 $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 Dbug42082.phpt16 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 Dbug32615.phpt21 $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 DDOM4_DOMNode_remove.phpt13 print_node($element->firstChild);
14 $returnValue = $element->firstChild->remove();
15 print_node($element->firstChild);
H A Dentity_reference_stale_03.phpt8 foreach (['firstChild', 'lastChild', 'textContent', 'childNodes'] as $prop) {
16 $ref = $dom->documentElement->firstChild;
17 $decl = $ref->firstChild;
H A Dentity_reference_stale_01.phpt16 $ref = $dom->documentElement->firstChild;
17 $decl = $ref->firstChild;
24 var_dump($ref->firstChild);
H A Dbug80602_4.phpt10 $foo = $doc->firstChild->firstChild;
11 $bar = $doc->firstChild->lastChild;
H A DDOMDocument_adoptNode.phpt13 $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 Dbug40836.phpt22 $contentNode = $entry->getElementsByTagName("content")->item(0)->firstChild;
23 $dateNode = $entry->getElementsByTagName("updated")->item(0)->firstChild;
24 $contentNode->firstChild->insertBefore($dateNode);
H A Dentity_reference_stale_02.phpt18 $ref = $dom->documentElement->firstChild;
19 $decl = $ref->firstChild;
H A Dbug80602_3.phpt11 $target->before('bar', $doc->documentElement->firstChild, 'baz');
19 $target->after('bar', $doc->documentElement->firstChild, 'baz');
57 ["firstChild"]=>
114 ["firstChild"]=>
/php-src/ext/dom/tests/modern/xml/
H A DElement_outerHTML_writing.phpt9 $dom->documentElement->firstChild->outerHTML = '<x xmlns="urn:a"><p>foo</p><p xmlns="urn:x">bar</p>…
12 $dom->documentElement->firstChild->outerHTML = $dom->documentElement->firstChild->outerHTML;
13 $element = $dom->documentElement->firstChild->firstChild;
16 $dom->documentElement->firstChild->outerHTML = 'tést';
23 $fragment->firstChild->outerHTML = '<strong>bar</strong>';
/php-src/ext/xsl/tests/
H A Dbug69168.phpt36 var_dump($xmlDoc->firstChild->firstChild->firstChild->getNodePath());
37 var_dump($xmlDoc->firstChild->firstChild->firstChild->nodeValue);
/php-src/ext/dom/tests/modern/spec/
H A Dtext_merging.phpt16 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 Dclone_entity_reference.phpt19 var_dump($clone->firstChild->firstChild);
47 ["firstChild"]=>
/php-src/ext/dom/tests/modern/html/interactions/
H A DHTMLDocument_clone.phpt11 var_dump($dom2->firstChild->tagName);
12 var_dump($dom2->firstChild->textContent);
14 $element = $dom2->firstChild;
H A DgetLineNo_65536.phpt16 var_dump($dom->documentElement->firstChild->nextSibling->firstChild->nextSibling->getLineNo());
/php-src/ext/dom/tests/compareDocumentPosition/
H A Dentity.phpt33 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-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_escape_attribute.phpt9 $p = $dom->documentElement->firstChild->nextSibling->firstChild;
H A DHTMLDocument_serialize_text_01.phpt9 $p = $dom->documentElement->firstChild->nextSibling->firstChild;
/php-src/ext/pdo_sqlite/tests/
H A Dgh14712.phpt12 …$db->query("select 1 as queryStringxx")->fetch(PDO::FETCH_LAZY)->documentElement->firstChild->next…
18 Attempt to modify property "firstChild" on null

Completed in 18 milliseconds

12345