/php-src/ext/dom/tests/ |
H A D | gh10234.phpt | 14 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 D | bug70001.phpt | 2 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 D | bug67949.phpt | 25 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 D | DOMDocument_length_cache_invalidation.phpt | 19 var_dump($item->textContent); 21 var_dump($item->textContent); 23 var_dump($item->textContent); 25 var_dump($item->textContent);
|
H A D | bug77686.phpt | 12 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 D | bug46335.phpt | 16 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 D | node_textcontent.phpt | 2 Testing reading and writing to DOMNode::textContent 29 var_dump($node->textContent); 30 $node->textContent = $text; 31 var_dump($node->textContent == $text);
|
H A D | DOMDocument_item_cache_invalidation.phpt | 17 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 D | unsetting_properties.phpt | 24 unset($root->textContent); 32 Cannot unset MyElement::$textContent
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | textContent_edge_cases.phpt | 2 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 D | text_merging.phpt | 11 $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 D | ProcessingInstruction_data_manipulation.phpt | 14 echo $pi->textContent, "\n"; 16 echo $pi->textContent, "\n"; 18 echo $pi->textContent, "\n"; 20 echo $pi->textContent, "\n";
|
H A D | Element_getAttributeNode.phpt | 12 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 D | Document_createElement.phpt | 14 $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 D | Element_getAttributeNodeNS.phpt | 16 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 D | Document_createElementNS.phpt | 51 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 D | element_dump.inc | 5 echo "textContent: ", var_dump($element->textContent);
|
H A D | create_element_util.inc | 4 if ($value) $element->textContent = $value; 10 if ($value) $element->textContent = $value;
|
H A D | clone_text_nodes.phpt | 23 var_dump($clone->firstChild->textContent); 24 var_dump($clone->firstChild->nextSibling->textContent); 25 var_dump($clone->firstChild->nextSibling->nextSibling->textContent);
|
H A D | Element_insertAdjacentText.phpt | 21 var_dump($foo->firstChild->textContent); 22 var_dump($foo->firstChild->nextSibling->textContent);
|
/php-src/ext/dom/tests/delayed_freeing/ |
H A D | document_fragment.phpt | 11 var_dump($doc->textContent); 13 var_dump($doc->textContent); 15 var_dump($child->textContent); 21 var_dump($doc->textContent);
|
H A D | namespace_definition_crash_in_attribute.phpt | 11 $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 D | documentfragment.phpt | 9 var_dump($fragment->textContent); 11 var_dump($fragment->textContent);
|
H A D | entityreference.phpt | 9 var_dump($entityRef->nodeName, $entityRef->textContent); 11 var_dump($entityRef->nodeName, $entityRef->textContent);
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_override_encoding_incompatible_charset.phpt | 28 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));
|