/PHP-8.4/ext/dom/tests/modern/spec/ |
H A D | XMLDocument_getElementsByTagName.phpt | 2 XMLDocument::getElementsByTagName 23 dumpNodeList($dom->getElementsByTagName("HTml")); 24 dumpNodeList($dom->getElementsByTagName("htML")); 25 dumpNodeList($dom->getElementsByTagName("html")); 26 dumpNodeList($dom->getElementsByTagName("HTML")); 27 dumpNodeList($dom->getElementsByTagName("foo:html")); 28 dumpNodeList($dom->getElementsByTagName("foo:HTML")); 29 dumpNodeList($dom->getElementsByTagName("bar:HTML")); 30 dumpNodeList($dom->getElementsByTagName("bar:html"));
|
H A D | HTMLDocument_getElementsByTagName.phpt | 2 HTMLDocument::getElementsByTagName 23 dumpNodeList($dom->getElementsByTagName("HTml")); 24 dumpNodeList($dom->getElementsByTagName("htML")); 25 dumpNodeList($dom->getElementsByTagName("html")); 26 dumpNodeList($dom->getElementsByTagName("HTML")); 30 dumpNodeList($dom->getElementsByTagName("foo:html")); 32 dumpNodeList($dom->getElementsByTagName("foo:HTML")); 34 dumpNodeList($dom->getElementsByTagName("bar:HTML")); 35 dumpNodeList($dom->getElementsByTagName("bar:html"));
|
H A D | Node_isEqualNode_02.phpt | 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…
|
H A D | Node_isEqualNode_01.phpt | 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…
|
H A D | clone_document.phpt | 26 var_dump($dom->getElementsByTagName("child2")[0]->firstChild->nodeName); 33 var_dump($clone->getElementsByTagName("child2")[0]->firstChild->nodeName);
|
/PHP-8.4/ext/dom/tests/modern/html/serializer/ |
H A D | Element_innerHTML.phpt | 9 var_dump($dom->getElementsByTagName('body')[0]->innerHTML); 10 var_dump($dom->getElementsByTagName('head')[0]->innerHTML); 11 var_dump($dom->getElementsByTagName('html')[0]->innerHTML); 12 var_dump($dom->getElementsByTagName('div')[0]->innerHTML); 13 var_dump($dom->getElementsByTagName('p')[0]->innerHTML);
|
/PHP-8.4/ext/dom/tests/modern/html/interactions/ |
H A D | HTMLCollection_named_reads.phpt | 45 test($dom->getElementsByTagName('node'), 'foo'); 46 test($dom->getElementsByTagName('node'), ''); 47 test($dom->getElementsByTagName('node'), 'does not exist'); 48 test($dom->getElementsByTagName('node'), 'wrong'); 49 test($dom->getElementsByTagName('node'), 'bar'); 50 test($dom->getElementsByTagName('x'), 'foo'); 51 test($dom->getElementsByTagName('x'), 'footest');
|
H A D | HTMLDocument_getElementsByTagName.phpt | 2 Test Dom\HTMLDocument::getElementsByTagName(NS) 27 echo "--- getElementsByTagName ---\n"; 29 var_dump($dom->getElementsByTagName("p")[0]?->nodeName); 30 var_dump($dom->getElementsByTagName("math")[0]?->nodeName); 31 var_dump($dom->getElementsByTagName("mtable")[0]?->nodeName); 32 var_dump($dom->getElementsByTagName("svg")[0]?->nodeName); 33 var_dump($dom->getElementsByTagName("circle")[0]?->nodeName); 69 --- getElementsByTagName ---
|
H A D | HTMLCollection_dimension_errors.phpt | 11 $dom->getElementsByTagName('root')[][1] = 1; 17 $dom->getElementsByTagName('root')[true]; 23 isset($dom->getElementsByTagName('root')[true]);
|
/PHP-8.4/ext/dom/tests/ |
H A D | DOMElement_getElementsByTagName_without_document.phpt | 2 Node list cache should not break on DOMElement::getElementsByTagName() without document 9 foreach ($element->getElementsByTagName("b") as $x) {
|
H A D | DOMDocument_getElementsByTagName_liveness_tree_walk.phpt | 2 DOMDocument::getElementsByTagName() liveness tree walk 12 $list = $doc->documentElement->firstChild->getElementsByTagName('b'); 26 $list = $doc->getElementsByTagName('b'); 41 $list = $doc->documentElement->firstChild->getElementsByTagName('b'); 53 $list = $doc->documentElement->firstChild->getElementsByTagName('b');
|
H A D | DOMDocument_liveness_caching_invalidation.phpt | 15 foreach ($doc->getElementsByTagName('e') as $node) { 23 foreach ($doc->getElementsByTagName('e') as $node) { 29 foreach ($doc->getElementsByTagName('e') as $node) {
|
H A D | DOMNode_replaceChild_basic.phpt | 16 $parent = $document->getElementsByTagName('foo')->item(0); 23 $parent = $document->getElementsByTagName('spam')->item(0); 28 $new_child = $document->getElementsByTagName('spam')->item(0); 29 $parent = $document->getElementsByTagName('foo')->item(0);
|
H A D | getElementsByTagName_liveness_deallocated_document.phpt | 2 getElementsByTagName() liveness with deallocated document 16 $ps = $dom->documentElement->getElementsByTagName('p');
|
H A D | dom002.phpt | 2 Test 2: getElementsByTagName() / getElementsByTagNameNS() 28 dump($dom->getElementsByTagName('bar')); 29 dump($doc->getElementsByTagName('bar'));
|
H A D | DOMDocument_getElementsByTagName_liveness_simplexml.phpt | 2 DOMDocument::getElementsByTagName() liveness with simplexml_import_dom 11 $list = $doc->getElementsByTagName('e');
|
H A D | gh16465.phpt | 10 $v10->getElementsByTagName("text\0something"); 27 DOMElement::getElementsByTagName(): Argument #1 ($qualifiedName) must not contain any null bytes
|
H A D | DOMNode_insertBefore_error2.phpt | 18 $parent_node = $dom->getElementsByTagName("book")->item(0); 26 $ref_node = $dom->getElementsByTagName("book")->item(1);
|
H A D | DOMNode_insertBefore_error3.phpt | 18 $parent_node = $dom->getElementsByTagName("book")->item(0); 26 $ref_node = $dom->getElementsByTagName("book")->item(0)->parentNode;
|
H A D | DOMDocument_getElementsByTagName_liveness_xinclude.phpt | 2 DOMDocument::getElementsByTagName() liveness with DOMDocument::xinclude() 25 $elements = $dom->getElementsByTagName('p');
|
H A D | gh11288.phpt | 17 $spans = iterator_to_array($dom->getElementsByTagName('span')->getIterator()); 38 $spans = iterator_to_array($dom->getElementsByTagName('span')->getIterator()); 57 $spans = iterator_to_array($dom->getElementsByTagName('span')->getIterator());
|
H A D | bug40836.phpt | 22 $contentNode = $entry->getElementsByTagName("content")->item(0)->firstChild; 23 $dateNode = $entry->getElementsByTagName("updated")->item(0)->firstChild;
|
H A D | DOMDocument_item_cache_invalidation.phpt | 13 $elements = $doc->getElementsByTagName('p'); 26 $elements = $doc->getElementsByTagName('p'); 42 $elements = $root->getElementsByTagName('e');
|
H A D | DOMDocument_getElementsByTagName_liveness_write_properties.phpt | 2 DOMDocument::getElementsByTagName() liveness affected by writing properties 14 $list = $doc->getElementsByTagName('a');
|
/PHP-8.4/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));
|