Home
last modified time | relevance | path

Searched refs:textContent (Results 1 – 25 of 104) sorted by relevance

12345

/php-src/ext/dom/tests/
H A Dgh10234.phpt14 var_dump($attribute->textContent);
16 $attribute->textContent = 'new value';
17 var_dump($attribute->textContent);
20 $attribute->textContent = 'hello & world';
21 var_dump($attribute->textContent);
24 $attribute->textContent = '<b>hi</b>';
25 var_dump($attribute->textContent);
28 $attribute->textContent = 'quote "test"';
29 var_dump($attribute->textContent);
33 var_dump($attribute->textContent);
[all …]
H A Dbug70001.phpt2 Bug #70001 (Assigning to DOMNode::textContent does additional entity encoding)
8 var_dump($element->textContent);
10 var_dump($element->textContent);
11 $element->textContent = ('<p>foo & bar</p>');
12 var_dump($element->textContent);
H A Dbug67949.phpt25 var_dump($nodes[0]->textContent);
26 var_dump($nodes[1]->textContent);
31 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent);
38 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent);
43 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent);
66 Warning: Attempt to read property "textContent" on null in %s on line %d
74 Warning: Attempt to read property "textContent" on null in %s on line %d
80 Warning: Attempt to read property "textContent" on null in %s on line %d
86 Warning: Attempt to read property "textContent" on null in %s on line %d
H A DDOMDocument_length_cache_invalidation.phpt19 var_dump($item->textContent);
21 var_dump($item->textContent);
23 var_dump($item->textContent);
25 var_dump($item->textContent);
H A Dbug77686.phpt12 var_dump($doc->getElementById('y')->textContent);
20 var_dump($doc->getElementById('y')->textContent);
23 var_dump($doc->getElementById('htmlelement')->textContent);
27 $new_element->textContent = 'my new text';
31 var_dump($doc->getElementById('myp')->textContent);
H A Dbug46335.phpt16 print "Text: $node->textContent\n";
20 print "splitText (ASCII): $matched->textContent\n";
25 print "Text: $node->textContent\n";
29 print "splitText (UTF-8): $matched->textContent\n";
H A Dnode_textcontent.phpt2 Testing reading and writing to DOMNode::textContent
29 var_dump($node->textContent);
30 $node->textContent = $text;
31 var_dump($node->textContent == $text);
H A DDOMDocument_item_cache_invalidation.phpt17 var_dump($elements->item(0)->textContent); // First lookup
18 var_dump($elements->item(2)->textContent); // Uses cache
19 var_dump($elements->item(1)->textContent); // Does not use cache
28 var_dump($item->textContent);
33 var_dump($item->textContent);
H A Dunsetting_properties.phpt24 unset($root->textContent);
32 Cannot unset MyElement::$textContent
/php-src/ext/dom/tests/modern/spec/
H A DtextContent_edge_cases.phpt2 textContent edge cases
11 var_dump($dom->textContent);
13 $dom->textContent = "foo";
24 var_dump($text->textContent);
26 var_dump($pi->textContent);
28 $text->textContent = NULL;
29 $pi->textContent = NULL;
32 var_dump($text->textContent);
34 var_dump($pi->textContent);
36 $container->textContent = NULL;
[all …]
H A Dtext_merging.phpt11 $span->textContent = "qux";
16 var_dump($element->firstChild->textContent);
17 var_dump($element->firstChild->nextSibling->textContent);
18 var_dump($element->firstChild->nextSibling->nextSibling->textContent);
23 var_dump($element->firstChild->textContent);
24 var_dump($element->firstChild->nextSibling->textContent);
H A DProcessingInstruction_data_manipulation.phpt14 echo $pi->textContent, "\n";
16 echo $pi->textContent, "\n";
18 echo $pi->textContent, "\n";
20 echo $pi->textContent, "\n";
H A DElement_getAttributeNode.phpt12 var_dump($body->getAttributeNode("align")->textContent);
13 var_dump($body->getAttributeNode("foo:bar")->textContent);
19 var_dump($body->getAttributeNode("prefix:local")->textContent);
25 var_dump($body->getAttributeNode("prefix:local2")->textContent);
26 var_dump($body->getAttributeNode("Prefix:LOCAL2")->textContent);
34 var_dump($element->getAttributeNode("Prefix:local2")->textContent);
H A DDocument_createElement.phpt14 $element->textContent = "&hello";
24 $element->textContent = "&hello";
42 textContent: string(6) "&hello"
49 textContent: string(0) ""
57 textContent: string(0) ""
65 textContent: string(0) ""
H A DElement_getAttributeNodeNS.phpt16 var_dump($body->getAttributeNodeNS(NULL, "align")->textContent);
17 var_dump($body->getAttributeNodeNS("", "align")->textContent);
20 var_dump($body->getAttributeNodeNS(NULL, "foo:bar")->textContent);
21 var_dump($body->getAttributeNodeNS("", "foo:bar")->textContent);
33 var_dump($body->getAttributeNodeNS(NULL, "prefix:local")->textContent);
40 var_dump($body->getAttributeNodeNS("urn:a", "local2")->textContent);
H A DDocument_createElementNS.phpt51 textContent: string(6) "&hello"
58 textContent: string(6) "&hello"
65 textContent: string(6) "&hello"
72 textContent: string(6) "&hello"
79 textContent: string(6) "&hello"
86 textContent: string(6) "&hello"
H A Delement_dump.inc5 echo "textContent: ", var_dump($element->textContent);
H A Dcreate_element_util.inc4 if ($value) $element->textContent = $value;
10 if ($value) $element->textContent = $value;
H A Dclone_text_nodes.phpt23 var_dump($clone->firstChild->textContent);
24 var_dump($clone->firstChild->nextSibling->textContent);
25 var_dump($clone->firstChild->nextSibling->nextSibling->textContent);
H A DElement_insertAdjacentText.phpt21 var_dump($foo->firstChild->textContent);
22 var_dump($foo->firstChild->nextSibling->textContent);
/php-src/ext/dom/tests/delayed_freeing/
H A Ddocument_fragment.phpt11 var_dump($doc->textContent);
13 var_dump($doc->textContent);
15 var_dump($child->textContent);
21 var_dump($doc->textContent);
H A Dnamespace_definition_crash_in_attribute.phpt11 $child_attr1->textContent = 'hello content 1';
13 $child_attr1->textContent = 'hello content 2';
24 var_dump($child_attr1->textContent);
25 var_dump($child_attr2->textContent);
28 var_dump($attr3->textContent);
/php-src/ext/dom/tests/manually_call_constructor/
H A Ddocumentfragment.phpt9 var_dump($fragment->textContent);
11 var_dump($fragment->textContent);
H A Dentityreference.phpt9 var_dump($entityRef->nodeName, $entityRef->textContent);
11 var_dump($entityRef->nodeName, $entityRef->textContent);
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_override_encoding_incompatible_charset.phpt28 var_dump(iconv('UTF-8', 'ISO-8859-1', $doc->getElementsByTagName('title')->item(0)->textContent));
29 var_dump(iconv('UTF-8', 'ISO-8859-1', $doc->getElementsByTagName('body')->item(0)->textContent));

Completed in 19 milliseconds

12345