/PHP-8.2/ext/dom/tests/ |
H A D | bug32615.phpt | 21 $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 D | DOMCharacterData_data_basic_002.phpt | 12 $root = $document->createElement('root'); 13 $document->appendChild($root); 16 $root->appendChild($cdata); 25 <root><![CDATA[t]]></root> 28 <root><![CDATA[100]]></root>
|
H A D | DOMNamedNodeMap_count.phpt | 11 $root = $document->createElement('root'); 12 $document->appendChild($root); 14 $root->setAttribute('attribute-' . $i, 'value-' . $i); 18 $root->appendChild($item); 20 var_dump($root->attributes->length); 21 var_dump($root->attributes->count()); 22 var_dump(count($root->attributes));
|
H A D | DomNodeList_count.phpt | 11 $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 D | bug44648.phpt | 9 $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 D | gh16593.phpt | 9 $root = $doc->appendChild($doc->createElement('root')); 10 $child = $root->appendChild($doc->createElement('child')); 12 $root->replaceChild($doc->createAttribute('foo'), $child); 22 <root><child/></root>
|
H A D | DOMDocumentFragment_appendXML_basic_001.phpt | 11 $root = $document->createElement('root'); 12 $document->appendChild($root); 16 $root->appendChild($fragment); 22 <root><foo id="baz">bar</foo></root>
|
H A D | DOMAttr_ownerElement_error_001.phpt | 12 $root = $document->createElement('root'); 13 $document->appendChild($root); 14 $attr = $root->setAttribute('category', 'books'); 15 $document->removeChild($root); 16 $root = null;
|
H A D | regsiter_node_class.phpt | 18 $doc->appendChild(new DOMElement('root')); 19 $root = $doc->documentElement; 20 $root->setAttribute('a', 'a1'); 21 echo get_class($root), "\n"; 22 print $root->testit()."\n"; 23 $attr = $root->getAttributeNode('a'); 28 $attr = $root->getAttributeNode('a');
|
H A D | xpath_domnamespacenode_advanced.phpt | 10 <root xmlns:foo="http://example.com/foo" xmlns:bar="http://example.com/bar"> 12 </root> 43 string(4) "root" 45 string(4) "root" 47 string(4) "root" 57 Before: root 58 After: root 59 Before: root 61 After: root 62 Before: root [all …]
|
H A D | DOMNode_insertBefore.phpt | 12 $dom->loadXML('<root/>'); 28 <root/> 31 <root><B/></root> 34 <root><A/><B/></root>
|
H A D | DOMCharacterData_appendData_basic.phpt | 12 $root = $document->createElement('root'); 13 $document->appendChild($root); 16 $root->appendChild($cdata); 37 <root><cdata><![CDATA[data><&"]]></cdata></root>
|
H A D | DOMComment_appendData_basic_Sullivan.phpt | 12 $root = $document->createElement('root'); 13 $document->appendChild($root); 16 $root->appendChild($comment); 37 <root><comment><!--data><&"--></comment></root>
|
H A D | DOMText_appendData_basic.phpt | 12 $root = $document->createElement('root'); 13 $document->appendChild($root); 16 $root->appendChild($text); 37 <root><text>data><&"</text></root>
|
/PHP-8.2/ext/ffi/tests/ |
H A D | list.phpt | 11 private $root; 29 $this->root = $node; 33 $root = $this->root; 34 $node = $root->next; 35 while ($node != $root) { 40 FFI::free($root); 53 $root = $this->root; 54 $node = $root->next; 55 while ($node != $root) { 69 $root = $this->root; [all …]
|
/PHP-8.2/ext/simplexml/tests/ |
H A D | bug35785.phpt | 8 $xml = simplexml_load_string("<root></root>"); 11 $xml = simplexml_load_string("<root></root>"); 15 $xml = simplexml_load_string("<root></root>"); 21 <root><bla><posts><name>FooBar</name></posts></bla></root> 24 <root><bla><posts><name>FooBar</name></posts></bla></root> 26 <root><bla><posts><name>FooBar</name></posts></bla></root>
|
H A D | bug26976.phpt | 8 $root = simplexml_load_string( 10 <root> 15 </root> 18 echo $root->child[0], "\n"; 19 echo $root->child[1], "\n"; 20 echo $root->child[2], "\n"; 21 echo $root->child[3], "\n";
|
H A D | profile11.phpt | 8 $root = simplexml_load_string('<?xml version="1.0"?> 9 <root xmlns:reserved="reserved-ns" xmlns:special="special-ns"> 12 </root> 15 var_dump($root->children('reserved-ns')->child); 16 var_dump($root->children('special-ns')->child); 17 var_dump((string)$root->children('reserved-ns')->child); 18 var_dump((string)$root->children('special-ns')->child); 19 var_dump($root->child);
|
H A D | bug41861.phpt | 8 $xml = simplexml_load_string('<root> 14 </root>'); 18 echo "root(recursive): '$name' -- namespaces: ", implode(', ', $namespaces), "\n"; 20 echo "root(non-recursive): '$name' -- namespaces: ", implode(', ', $namespaces), "\n"; 34 root(recursive): 'root' -- namespaces: #ns1, #ns2, #ns3 35 root(non-recursive): 'root' -- namespaces:
|
H A D | profile07.phpt | 8 $root = simplexml_load_string('<?xml version="1.0"?> 9 <root xmlns:reserved="reserved-ns"> 11 </root> 14 $rsattr = $root->child->attributes('reserved'); 15 $myattr = $root->child->attributes('reserved-ns');
|
H A D | 038.phpt | 8 <root></root> 10 $root = simplexml_load_string($xml); 11 var_dump($root->prop = 42);
|
/PHP-8.2/ext/standard/tests/serialize/ |
H A D | serialization_objects_019.phpt | 7 $root = new stdClass; 9 $root->a = [$end]; 10 $root->b = $root->a; 12 echo serialize($root), "\n"; 16 $root = new stdClass; 18 $root->a = [[$end]]; 19 $root->b = $root->a; 21 echo serialize($root), "\n"; 28 $root = [$object, $array]; 31 echo serialize($root), "\n";
|
/PHP-8.2/ext/xmlreader/tests/ |
H A D | bug42139.phpt | 10 <!DOCTYPE root [ 11 <!ELEMENT root ANY> 14 <root>&x;</root> 26 10, root, 27 1, root, 29 15, root,
|
/PHP-8.2/ext/xmlwriter/tests/ |
H A D | bug39504.phpt | 10 xmlwriter_start_dtd($xw, "root"); 13 xmlwriter_start_element($xw, "root"); 21 $xw->startDtd("root"); 24 $xw->startElement("root"); 31 <!DOCTYPE root [<!ENTITY ent2 "val2">]><root/> 34 <!DOCTYPE root [<!ENTITY c PUBLIC "-//W3C//TEXT copyright//EN" "http://www.w3.org/xmlspec/copyright…
|
/PHP-8.2/ext/opcache/tests/ |
H A D | bug66338.phpt | 11 $root = str_replace('.php', "", __FILE__); 12 $base = basename( $root ); 14 file_put_contents( "$root-Officials.inc", '<?php 18 file_put_contents( "$root-clientUS.php", '<?php 20 require \''.$root.'-Officials.inc\'; 24 file_put_contents( "$root-clientUK.php", '<?php 26 require \''.$root.'-Officials.inc\'; 38 unlink("$root-Officials.inc"); 39 unlink("$root-clientUS.php"); 40 unlink("$root-clientUK.php");
|