Home
last modified time | relevance | path

Searched refs:root (Results 251 – 274 of 274) sorted by last modified time

1...<<11

/PHP-7.4/ext/dom/tests/
H A DDomNodeList_count.phpt11 $root = $document->createElement('root');
12 $document->appendChild($root);
14 $root->setAttribute('attribute-' . $i, 'value-' . $i);
18 $root->appendChild($item);
20 var_dump($root->childNodes->length);
21 var_dump($root->childNodes->count());
22 var_dump(count($root->childNodes));
H A Dbug32615.phpt21 $root->replaceChild($frag, $root->firstChild);
27 $root->replaceChild($frag, $root->lastChild);
36 $root->insertBefore($frag, $root->firstChild);
42 $root->replaceChild($frag, $root->lastChild);
47 $root->removeChild($root->firstChild);
52 $root->removeChild($root->firstChild);
56 $root->insertBefore($frag, $root->firstChild);
69 $root->replaceChild($frag, $root->firstChild);
76 <root><first/><newsecond/><newthird/><newfourth/></root>
79 <root><first/><second/><third/><fourth/></root>
[all …]
H A Dbug35342.phpt8 $dom->loadXML("<root><foo>foobar</foo><foo>foobar#2</foo></root>");
H A Dbug37456.phpt12 $root = $doc->getElementsByTagName('foo')->item(0);
13 $root->setAttribute('bar', '&gt;');
14 $attr = $root->setAttribute('bar', 'newval');
H A Dbug38850.phpt15 $root = $doc->documentElement;
17 print $root->lookupNamespaceURI(NULL);
H A Dbug38949.phpt11 $root = $doc->documentElement;
13 echo $root->getAttribute("xmlns")."\n";
14 echo $root->getAttribute("xmlns:ns2")."\n";
16 $child = $root->firstChild->nextSibling;
H A Dbug41257.phpt11 $root = $doc->documentElement;
14 $euri = $root->lookupNamespaceURI("ns2")."\n";
19 $epref = $root->lookupPrefix("http://ns2")."\n";
24 $eisdef = $root->isDefaultNamespace("http://ns")."\n";
H A Dbug41374.phpt9 <root>foo<child />baz</root>
15 $root = $doc->documentElement;
16 $foo = $root->firstChild;
20 $bar = $root->insertBefore($doc->createTextNode("bar"), $foo->nextSibling);
H A Dbug44648.phpt9 $doc->loadXML('<root/>');
11 $root = $doc->documentElement;
15 $root->setAttributeNode($attr);
21 $root->setAttribute('@def', '456');
27 $root->setAttributeNS(NULL, '@ghi', '789');
33 $root->setAttributeNS('urn::test', 'a:g@hi', '789');
38 echo $doc->saveXML($root);
45 <root/>
H A Dbug47849.phpt9 $aDOM->appendChild($aDOM->createElementNS('urn::root','r:root'));
22 <r:root xmlns:r="urn::root"><data xmlns="urn::data"/></r:root>
H A Dbug49463.phpt9 $root = $doc->createElementNS('http://purl.org/rss/1.0/','rdf:RDF');
10 $doc->appendChild($root);
11 $root->setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://purl.org/rss/1.0/" );
H A Dbug49490.phpt8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />');
13 echo($xp->query('//prefix:root', null, false)->length . "\n");
H A Dbug54382.phpt10 <root xmlns="http://ns" xmlns:ns2="http://ns2">
12 </root>';
H A DDOMCharacterData_appendData_basic.phpt12 $root = $document->createElement('root');
13 $document->appendChild($root);
16 $root->appendChild($cdata);
37 <root><cdata><![CDATA[data><&"]]></cdata></root>
/PHP-7.4/ext/bcmath/libbcmath/
H A DLICENSE191 root function must still compute square roots.)
/PHP-7.4/Zend/
H A Dzend_generators.h51 zend_generator *root; /* if 0 children */ member
116 zend_generator *root; in zend_generator_get_current() local
124 root = leaf->node.ptr.root; in zend_generator_get_current()
126 if (EXPECTED(root->execute_data && root->node.parent == NULL)) { in zend_generator_get_current()
128 return root; in zend_generator_get_current()
/PHP-7.4/Zend/tests/
H A Dgc_015.phpt2 GC 015: Object as root of cycle
H A Dbug69989_3.phpt32 // Yield from root
H A Dbug63055.phpt7 /* the default gc root size is 10,000 */
H A Dbug39297.phpt36 $root = new MyTree();
38 $root[$id] = $child;
40 var_dump(compareByRef($root[$id], $child));
H A Dbug34199.phpt7 $xml = "<root></root>";
/PHP-7.4/Zend/tests/generators/
H A Dgc_with_yield_from.phpt8 function root() {
9 global $gens; // create cyclic reference to root
19 yield from $gens[] = $x ? gen(--$x) : root();
H A Dgc_with_root_parent_mismatch.phpt2 Generator GC when the yield from parent chain does not reach the root
6 function root() {
15 $gen = delegate(delegate(root()));
/PHP-7.4/
H A D.editorconfig3 root = true

Completed in 23 milliseconds

1...<<11