Home
last modified time | relevance | path

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

12

/PHP-8.1/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_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;
29 $b_world->firstChild->append($b_hello);
34 $b_hello = $dom->firstChild->firstChild;
44 $b_hello = $dom->firstChild->firstChild;
47 $b_world->firstChild->append($b_world);
58 $dom->firstChild->firstChild->prepend($dom2->firstChild);
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;
29 $b_world->firstChild->prepend($b_hello);
34 $b_hello = $dom->firstChild->firstChild;
44 $b_hello = $dom->firstChild->firstChild;
47 $b_world->firstChild->prepend($b_world);
58 $dom->firstChild->firstChild->prepend($dom2->firstChild);
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 Dbug80602_4.phpt10 $foo = $doc->firstChild->firstChild;
11 $bar = $doc->firstChild->lastChild;
H A DDOM4_ChildNode_wrong_document.phpt18 $element->after($dom2->documentElement->firstChild);
25 $element->before($dom2->documentElement->firstChild);
32 $element->replaceWith($dom2->documentElement->firstChild);
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 Dbug80602_3.phpt11 $target->before('bar', $doc->documentElement->firstChild, 'baz');
19 $target->after('bar', $doc->documentElement->firstChild, 'baz');
51 ["firstChild"]=>
100 ["firstChild"]=>
H A DDOM4_ParentNode_append_wrong_document.phpt18 $element->append($dom2->documentElement->firstChild);
25 $element->prepend($dom2->documentElement->firstChild);
H A Dbug69846.phpt20 $dataNodes = $tmpDomDocument->firstChild->childNodes->item(0)->childNodes;
57 ["firstChild"]=>
110 ["firstChild"]=>
161 ["firstChild"]=>
H A Dbug46185.phpt10 $a= $aDOM->firstChild;
16 $imported= $aDOM->importNode($ok->firstChild, true);
H A Dbug36756.phpt14 $dom->removeChild($GLOBALS['dom']->firstChild);
21 $GLOBALS['dom']->removeChild($GLOBALS['dom']->firstChild);
H A Dspecific_namespace_behaviour.phpt18 $dom2->firstChild->firstChild->appendChild($wsse);
H A DDOMNode_replaceChild_basic.phpt18 $old_child = $parent->replaceChild($new_child, $parent->firstChild);
24 $parent->replaceChild($new_child, $parent->firstChild);
30 $parent->replaceChild($new_child, $parent->firstChild);
H A Dbug47530.phpt13 $frag->appendChild($doc->importNode($root->firstChild));
24 $element = $doc->documentElement->firstChild;
29 var_dump($element->firstChild->tagName);
30 var_dump($element->firstChild->namespaceURI);
85 $dom2->documentElement->appendChild($dom2->importNode($dom->documentElement->firstChild));
88 …$dom2->documentElement->firstChild->appendChild($dom2->importNode($dom->documentElement->firstChil…
H A Dbug80600.phpt10 $doc->documentElement->firstChild->remove();
H A DDOMCharacterData_replaceWith_self.phpt9 $cdata = $dom->documentElement->firstChild;
H A Dbug69373.phpt12 $doc->firstChild->nodeValue = '';
H A DDOM4_DOMNode_replaceWith.phpt12 $element = $dom->documentElement->firstChild;
H A Dbug38949.phpt16 $child = $root->firstChild->nextSibling;
/PHP-8.1/ext/libxml/tests/
H A Dbug61367-read.phpt30 print $doc->documentElement->firstChild->nodeValue;
65 Warning: Attempt to read property "firstChild" on null in %s on line %d

Completed in 21 milliseconds

12