Home
last modified time | relevance | path

Searched refs:container (Results 1 – 25 of 192) sorted by relevance

12345678

/php-src/ext/dom/tests/modern/xml/
H A DElement_innerOuterHTML_reading.phpt16 $container = createContainer();
18 var_dump($container->innerHTML);
19 var_dump($container->outerHTML);
21 $container = createContainer();
58 string(36) "<container>Hello, world!</container>"
60 string(49) "<container><!--This is -a- comment--></container>"
62 string(32) "<container><?xmll ?></container>"
64 string(45) "<container><?almostmalformed >??></container>"
65 string(12) "<container/>"
66 string(35) "<container><container/></container>"
[all …]
H A DElement_innerOuterHTML_reading_errors.phpt31 test($container);
35 test($container);
39 test($container);
43 test($container);
47 test($container);
52 test($container);
57 test($container);
62 test($container);
67 test($container);
71 test($container);
[all …]
/php-src/ext/dom/tests/modern/spec/
H A DElement_setAttribute_without_namespace.phpt11 $container = $dom->appendChild($dom->createElement("container"));
21 echo $dom->saveHtml($container), "\n";
23 echo $dom->saveHtml($container), "\n";
25 echo $dom->saveHtml($container), "\n";
27 echo $dom->saveHtml($container), "\n";
40 <container foo:bar="&amp;hello1"></container>
41 <container foo:bar="&amp;hello2"></container>
42 <container foo:bar="&amp;hello2" bar="&amp;hello3"></container>
43 <container foo:bar="&amp;hello2" bar="&amp;hello3" xmlns="&amp;hello4"></container>
44 <container foo:bar="&amp;hello2" bar="&amp;hello3" xmlns="&amp;hello5"></container>
[all …]
H A DElement_setAttribute_with_namespace.phpt11 $container = $dom->appendChild($dom->createElementNS("urn:a", "container"));
21 echo $dom->saveHtml($container), "\n";
23 echo $dom->saveHtml($container), "\n";
25 echo $dom->saveHtml($container), "\n";
27 echo $dom->saveHtml($container), "\n";
29 echo $dom->saveHtml($container), "\n";
44 <container foo:bar="&amp;hello1"></container>
45 <container foo:bar="&amp;hello2"></container>
46 <container foo:bar="&amp;hello2" bar="&amp;hello3"></container>
47 <container foo:bar="&amp;hello2" bar="&amp;hello3" xmlns="&amp;hello4"></container>
[all …]
H A DElement_toggleAttribute.phpt9 $container = $dom->appendChild($dom->createElement('container'));
11 $container->toggleAttribute('hidden');
12 $container->toggleAttribute('xmlns:foo');
13 $container->toggleAttribute('xmlns:bar');
14 $container->toggleAttribute('xmlns');
18 $container->toggleAttribute('hidden');
19 $container->toggleAttribute('xmlns:foo');
20 $container->toggleAttribute('xmlns:bar');
21 $container->toggleAttribute('xmlns');
27 <container hidden="" xmlns:foo="" xmlns:bar="" xmlns=""></container>
[all …]
H A DElement_setAttributeNS.phpt11 $container = $dom->appendChild($dom->createElement("container"));
16 echo $dom->saveHtml($container), "\n";
17 dumpAttrs($container);
30 $container = $dom->appendChild($dom->createElement("container"));
34 echo $dom->saveHtml($container), "\n";
35 dumpAttrs($container);
40 $container = $dom->appendChild($dom->createElement("container"));
45 dumpAttrs($container);
50 <container xmlns:foo="1"></container>
58 <container y:foo="2"></container>
[all …]
H A DNode_normalize_edge_case.phpt9 $container = $doc->appendChild($doc->createElement("container"));
11 $container->appendChild($doc->createTextNode(""));
12 $middle = $container->appendChild($doc->createTextNode("foo"));
13 $container->appendChild($doc->createTextNode(""));
24 <container>foo</container>
H A DElement_setAttributeNode.phpt9 $container = $dom1->appendChild($dom1->createElement("container"));
15 $container->setAttributeNode($attribute1);
16 var_dump($container->setAttributeNode($attribute1) === null);
19 var_dump($container->setAttributeNode($attribute2) === $attribute1);
22 var_dump($container->setAttributeNode($attribute3) === null);
28 $container->setAttributeNode($attribute4);
29 var_dump($container->setAttributeNode($attribute4) === null);
32 var_dump($container->setAttributeNodeNS($attribute5) === null);
48 <container my-attribute="2" my-ATTRIBUTE="3" my-attribute="4" my-attribute="5"></container>
H A DNode_isEqualNode_02.phpt9 $dom->append($dom->createElement("container"));
22 var_dump($dom->saveHtml($dom->getElementsByTagName("container")[0]));
23 var_dump($dom2->saveHtml($dom2->getElementsByTagName("container")[0]));
24 var_dump($dom->getElementsByTagName("container")[0]->isEqualNode($dom2->getElementsByTagName("conta…
28 string(72) "<container><foo1></foo1>
29 <foo2 bar1="baz" bar2="baz"></foo2></container>"
30 string(72) "<container><foo1></foo1>
31 <foo2 bar1="baz" bar2="baz"></foo2></container>"
H A DNode_isEqualNode_01.phpt9 $dom->append($dom->createElement("container"));
20 var_dump($dom->saveHtml($dom->getElementsByTagName("container")[0]));
21 var_dump($dom2->saveHtml($dom2->getElementsByTagName("container")[0]));
22 var_dump($dom->getElementsByTagName("container")[0]->isEqualNode($dom2->getElementsByTagName("conta…
26 string(118) "<container><example:foo></example:foo>
27 <example:foo example2:bar="baz1" example2:bar="baz2"></example:foo></container>"
28 string(98) "<container><example:foo></example:foo>
29 <example:foo example2:bar="baz1"></example:foo></container>"
/php-src/Zend/tests/offsets/
H A Dappending_containers.phpt9 echo zend_test_var_export($container), " container:\n";
20 NULL container:
25 false container:
32 true container:
34 4 container:
36 5.5 container:
38 '10' container:
40 '25.5' container:
44 [] container:
49 STDERR container:
[all …]
H A Dreference_containers_appended.phpt9 echo zend_test_var_export($container), " container:\n";
20 NULL container:
26 false container:
34 true container:
36 4 container:
38 5.5 container:
40 '10' container:
42 '25.5' container:
46 [] container:
52 STDERR container:
[all …]
H A Dappending_containers_in_fetch.phpt9 echo zend_test_var_export($container), " container:\n";
20 NULL container:
28 false container:
38 true container:
40 4 container:
42 5.5 container:
44 '10' container:
46 '25.5' container:
50 [] container:
58 STDERR container:
[all …]
H A Dtest_variable_offsets.inc3 //$container var declaration in const generated file
8 var_dump($container[$dimension]);
15 $container[$dimension] = 5;
22 var_dump($container[$dimension]);
29 $container[$dimension] += 20;
36 var_dump(isset($container[$dimension]));
42 var_dump(empty($container[$dimension]));
55 $r = &$container[$dimension];
60 var_dump($container[$dimension]);
67 unset($container[$dimension]);
[all …]
/php-src/ext/dom/tests/
H A DDOMElement_insertAdjacentText.phpt9 $dom->loadXML('<?xml version="1.0"?><container><p>foo</p></container>');
20 $container = $dom->documentElement;
21 $p = $container->firstElementChild;
62 <container>A<p>foo</p></container>
64 <container>A<p>Bfoo</p></container>
66 <container>A<p>BfooC</p></container>
68 <container>A<p>BfooC</p>D</container>
71 <container>A<p>foo</p></container>
73 <container>A<p>Bfoo</p></container>
75 <container>A<p>BfooC</p></container>
[all …]
H A DDOMElement_insertAdjacentElement.phpt96 <container><A/><p>foo</p></container>
99 <container><A/><p><B/>foo</p></container>
102 <container><A/><p><B/>foo<C/></p></container>
105 <container><A/><p><B/>foo<C/></p><D/></container>
109 <container><A/><p>foo</p></container>
112 <container><A/><p><B/>foo</p></container>
115 <container><A/><p><B/>foo<C/></p></container>
118 <container><A/><p><B/>foo<C/></p><D/></container>
123 <container xmlns:foo="some:ns"><foo:bar/></container>
126 <container><div><p/></div></container>
[all …]
H A DDOMChildNode_methods_without_parent.phpt10 <container>
12 </container>
15 $container = $doc->documentElement;
16 $child = $container->firstElementChild;
29 <container>
31 </container>
35 <container>
37 </container>
41 <container>
43 </container>
H A DreplaceWith_non_viable_next_sibling.phpt10 <container>
14 </container>
17 $container = $doc->documentElement;
18 $child = $container->firstElementChild;
28 <container>
32 </container>
34 <container>
36 </container>
H A Dgh11906.phpt10 <container>
12 </container>
15 $container = $doc->documentElement;
16 $child = $container->firstElementChild;
34 <container>
36 </container>
41 <container>
43 </container>
/php-src/ext/dom/tests/modern/css_selectors/
H A Dnamespaces.phpt12 <container align="left"/>
27 test_helper($dom, 'container[align]');
28 test_helper($dom, 'container[foo\\:bar]');
29 test_helper($dom, 'container[a\\:bar]');
30 test_helper($dom, 'container[bar]');
35 test_failure($dom, 'container[* | bar]');
39 --- Selector: container[align] ---
41 --- Selector: container[foo\:bar] ---
43 --- Selector: container[a\:bar] ---
44 --- Selector: container[bar] ---
[all …]
H A Dpseudo_classes_first_last_child.phpt11 <container>
18 </container>
21 test_helper($dom, 'container > *:first-child');
22 test_helper($dom, 'container > *:last-child');
26 --- Selector: container > *:first-child ---
28 --- Selector: container > *:last-child ---
/php-src/ext/dom/tests/modern/common/
H A DElement_insertAdjacentElement.phpt8 $dom = Dom\XMLDocument::createFromString('<?xml version="1.0"?><container><p>foo</p></container>');
9 $container = $dom->documentElement;
10 $p = $container->firstElementChild;
28 <container><A/><p>foo</p></container>
31 <container><A/><p><B/>foo</p></container>
34 <container><A/><p><B/>foo<C/></p></container>
37 <container><A/><p><B/>foo<C/></p><D/></container>
/php-src/ext/dom/tests/gh11830/
H A Ddocument_variation.phpt19 <container>
48 <container>
51 </container>
56 <container>
59 </container>
64 <container>
67 </container>
72 <container>
75 </container>
80 <container>
[all …]
/php-src/ext/dom/tests/compareDocumentPosition/
H A Dcontains_element_direct_descendent.phpt11 <container>
13 </container>
16 $container = $dom->documentElement;
17 $div = $container->firstChild;
19 var_dump($container->compareDocumentPosition($div) === (DOMNode::DOCUMENT_POSITION_FOLLOWING | DOMN…
20 var_dump($div->compareDocumentPosition($container) === (DOMNode::DOCUMENT_POSITION_PRECEDING | DOMN…
/php-src/Zend/tests/weakrefs/
H A Dgh10043-007.phpt18 $container = new Canary('container');
20 $container->canary = $canary;
23 $map[$canary] = $container;
26 unset($container, $canary);
32 1container

Completed in 32 milliseconds

12345678