Home
last modified time | relevance | path

Searched refs:root (Results 76 – 100 of 336) sorted by relevance

12345678910>>...14

/PHP-8.3/ext/dom/tests/
H A Dbug75451.phpt8 $dom->loadXML('<root><child/></root>');
10 foreach($xpath->query('/root/noexist') as $child) {
H A Dbug37456.phpt12 $root = $doc->getElementsByTagName('foo')->item(0);
13 $root->setAttribute('bar', '&gt;');
14 $attr = $root->setAttribute('bar', 'newval');
H A DDOM4_DOMNode_append_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
13 $doc->appendChild($root);
14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
17 $root->append($item);
H A DDOM4_DOMNode_prepend_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
13 $doc->appendChild($root);
14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
17 $root->prepend($item);
H A Dbug55700.phpt8 $doc->loadXML('<prefix:root xmlns:prefix="urn:a" />');
13 echo($xp->query('//prefix:root')->length . "\n");
18 echo($xp->query('//prefix:root')->length . "\n");
25 echo($xp->query('//prefix:root')->length . "\n");
H A DDOMNode_cloneNode_basic.phpt36 $root = $dom->documentElement;
39 $children = $root->childNodes;
44 $noderemoved = $root->removeChild($current);
63 $root->appendChild($cloned_first_course_default);
64 $root->appendChild($cloned_first_course_true);
65 $root->appendChild($cloned_first_course_false);
67 $children = $root->childNodes;
H A DParentNode_append_fragment_text_coalesce.phpt8 $document->loadXML('<root/>');
21 <root>Node0Node1Node2Node3Node4Node5Node6Node7Node8Node9</root>
H A Dbug43364.phpt23 <root xmlns:xi="http://www.w3.org/2001/XInclude">
28 <b><xi:include xpointer="xpointer(/root/a)" /></b>
29 <c><xi:include xpointer="xpointer(/root/b)" /></c>
30 </root>
H A Dgh11791.phpt8 $doc->loadXML('<root/>');
14 $doc->loadXML('<?xml version="1.0"?><root/>');
20 $doc->loadXML('<?xml version="1.0" standalone="no"?><root/>');
26 $doc->loadXML('<?xml version="1.0" standalone="yes"?><root/>');
H A DDOMDocument_saveHTMLFile_formatOutput_gte_2_13.phpt17 $root = $doc->createElement('html');
18 $root = $doc->appendChild($root);
20 $head = $root->appendChild($head);
H A Dbug_lifetime_parentNode_getAttributeNodeNS.phpt8 <root xmlns="http://ns" xmlns:ns2="http://ns2">
10 </root>';
20 string(4) "root"
H A Dreconcile_reused_namespace.phpt9 $root = $dom->createElementNS('http://www.w3.org/2000/xhtml', 'html');
19 $root = $dom->firstElementChild;
23 $root->appendChild($element);
27 $root->appendChild($element);
31 $root->appendChild($element);
H A DDOM4_DOMNode_after_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
13 $doc->appendChild($root);
14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
17 $root->append($item);
H A DDOM4_DOMNode_before_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
13 $doc->appendChild($root);
14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
17 $root->append($item);
H A DDOMNode_hasChildNodes_basic.phpt19 $root = $doc->createElement('book');
20 $doc->appendChild($root);
23 $root->appendChild($title);
29 var_dump($root->hasChildNodes());
H A DDOMDocument_saveHTML_basic_gte_2_13.phpt16 $root = $doc->createElement('html');
17 $root = $doc->appendChild($root);
19 $head = $root->appendChild($head);
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 Ddom_comment_variation.phpt14 $root = $dom->documentElement;
15 var_dump($root->hasChildNodes());
16 $children = $root->childNodes;
/PHP-8.3/ext/simplexml/tests/
H A Dbug48601.phpt8 $sxe = simplexml_load_string('<root><node1>1</node1></root>');
10 $nodes = $sxe->xpath("/root/node2/@test");
H A Dbug39662.phpt13 $root = simplexml_load_string($xml);
14 $clone = clone $root;
15 var_dump($root);
/PHP-8.3/ext/standard/tests/
H A Dskipif_root.inc3 // Skip if being run by root (files are always readable, writeable and executable)
6 die('WARN Unable to create the "root check" file');
14 die('SKIP Cannot be run as root');
/PHP-8.3/ext/intl/tests/
H A Dcollator_create2.phpt24 'root',
62 ULOC_ACTUAL_LOCALE = 'root'
75 Locale: 'root'
76 ULOC_REQUESTED_LOCALE = 'root'
77 ULOC_VALID_LOCALE = 'root'
78 ULOC_ACTUAL_LOCALE = 'root'
H A Dcollator_create4.phpt24 'root',
62 ULOC_ACTUAL_LOCALE = 'root'
72 Locale: 'root'
73 ULOC_REQUESTED_LOCALE = 'root'
74 ULOC_VALID_LOCALE = 'root'
75 ULOC_ACTUAL_LOCALE = 'root'
/PHP-8.3/Zend/tests/generators/
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-8.3/ext/xsl/tests/
H A Dbug70535.phpt9 $xmlInput = simplexml_load_string('<root></root>');
10 ….0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="root"><xsl:text>success<…

Completed in 25 milliseconds

12345678910>>...14