Searched refs:firstChild (Results 1 – 25 of 39) sorted by relevance
12
/PHP-8.1/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_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; 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 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; 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 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 | DOM4_DOMNode_remove.phpt | 13 print_node($element->firstChild); 14 $returnValue = $element->firstChild->remove(); 15 print_node($element->firstChild);
|
H A D | bug80602_4.phpt | 10 $foo = $doc->firstChild->firstChild; 11 $bar = $doc->firstChild->lastChild;
|
H A D | DOM4_ChildNode_wrong_document.phpt | 18 $element->after($dom2->documentElement->firstChild); 25 $element->before($dom2->documentElement->firstChild); 32 $element->replaceWith($dom2->documentElement->firstChild);
|
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 | bug80602_3.phpt | 11 $target->before('bar', $doc->documentElement->firstChild, 'baz'); 19 $target->after('bar', $doc->documentElement->firstChild, 'baz'); 51 ["firstChild"]=> 100 ["firstChild"]=>
|
H A D | DOM4_ParentNode_append_wrong_document.phpt | 18 $element->append($dom2->documentElement->firstChild); 25 $element->prepend($dom2->documentElement->firstChild);
|
H A D | bug69846.phpt | 20 $dataNodes = $tmpDomDocument->firstChild->childNodes->item(0)->childNodes; 57 ["firstChild"]=> 110 ["firstChild"]=> 161 ["firstChild"]=>
|
H A D | bug46185.phpt | 10 $a= $aDOM->firstChild; 16 $imported= $aDOM->importNode($ok->firstChild, true);
|
H A D | bug36756.phpt | 14 $dom->removeChild($GLOBALS['dom']->firstChild); 21 $GLOBALS['dom']->removeChild($GLOBALS['dom']->firstChild);
|
H A D | specific_namespace_behaviour.phpt | 18 $dom2->firstChild->firstChild->appendChild($wsse);
|
H A D | DOMNode_replaceChild_basic.phpt | 18 $old_child = $parent->replaceChild($new_child, $parent->firstChild); 24 $parent->replaceChild($new_child, $parent->firstChild); 30 $parent->replaceChild($new_child, $parent->firstChild);
|
H A D | bug47530.phpt | 13 $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 D | bug80600.phpt | 10 $doc->documentElement->firstChild->remove();
|
H A D | DOMCharacterData_replaceWith_self.phpt | 9 $cdata = $dom->documentElement->firstChild;
|
H A D | bug69373.phpt | 12 $doc->firstChild->nodeValue = '';
|
H A D | DOM4_DOMNode_replaceWith.phpt | 12 $element = $dom->documentElement->firstChild;
|
H A D | bug38949.phpt | 16 $child = $root->firstChild->nextSibling;
|
/PHP-8.1/ext/libxml/tests/ |
H A D | bug61367-read.phpt | 30 print $doc->documentElement->firstChild->nodeValue; 65 Warning: Attempt to read property "firstChild" on null in %s on line %d
|
Completed in 21 milliseconds
12