Home
last modified time | relevance | path

Searched refs:getElementsByTagName (Results 1 – 25 of 91) sorted by relevance

1234

/PHP-8.4/ext/dom/tests/modern/spec/
H A DXMLDocument_getElementsByTagName.phpt2 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 DHTMLDocument_getElementsByTagName.phpt2 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 DNode_isEqualNode_02.phpt22 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 DNode_isEqualNode_01.phpt20 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 Dclone_document.phpt26 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 DElement_innerHTML.phpt9 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 DHTMLCollection_named_reads.phpt45 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 DHTMLDocument_getElementsByTagName.phpt2 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 DHTMLCollection_dimension_errors.phpt11 $dom->getElementsByTagName('root')[][1] = 1;
17 $dom->getElementsByTagName('root')[true];
23 isset($dom->getElementsByTagName('root')[true]);
/PHP-8.4/ext/dom/tests/
H A DDOMElement_getElementsByTagName_without_document.phpt2 Node list cache should not break on DOMElement::getElementsByTagName() without document
9 foreach ($element->getElementsByTagName("b") as $x) {
H A DDOMDocument_getElementsByTagName_liveness_tree_walk.phpt2 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 DDOMDocument_liveness_caching_invalidation.phpt15 foreach ($doc->getElementsByTagName('e') as $node) {
23 foreach ($doc->getElementsByTagName('e') as $node) {
29 foreach ($doc->getElementsByTagName('e') as $node) {
H A DDOMNode_replaceChild_basic.phpt16 $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 DgetElementsByTagName_liveness_deallocated_document.phpt2 getElementsByTagName() liveness with deallocated document
16 $ps = $dom->documentElement->getElementsByTagName('p');
H A Ddom002.phpt2 Test 2: getElementsByTagName() / getElementsByTagNameNS()
28 dump($dom->getElementsByTagName('bar'));
29 dump($doc->getElementsByTagName('bar'));
H A DDOMDocument_getElementsByTagName_liveness_simplexml.phpt2 DOMDocument::getElementsByTagName() liveness with simplexml_import_dom
11 $list = $doc->getElementsByTagName('e');
H A Dgh16465.phpt10 $v10->getElementsByTagName("text\0something");
27 DOMElement::getElementsByTagName(): Argument #1 ($qualifiedName) must not contain any null bytes
H A DDOMNode_insertBefore_error2.phpt18 $parent_node = $dom->getElementsByTagName("book")->item(0);
26 $ref_node = $dom->getElementsByTagName("book")->item(1);
H A DDOMNode_insertBefore_error3.phpt18 $parent_node = $dom->getElementsByTagName("book")->item(0);
26 $ref_node = $dom->getElementsByTagName("book")->item(0)->parentNode;
H A DDOMDocument_getElementsByTagName_liveness_xinclude.phpt2 DOMDocument::getElementsByTagName() liveness with DOMDocument::xinclude()
25 $elements = $dom->getElementsByTagName('p');
H A Dgh11288.phpt17 $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 Dbug40836.phpt22 $contentNode = $entry->getElementsByTagName("content")->item(0)->firstChild;
23 $dateNode = $entry->getElementsByTagName("updated")->item(0)->firstChild;
H A DDOMDocument_item_cache_invalidation.phpt13 $elements = $doc->getElementsByTagName('p');
26 $elements = $doc->getElementsByTagName('p');
42 $elements = $root->getElementsByTagName('e');
H A DDOMDocument_getElementsByTagName_liveness_write_properties.phpt2 DOMDocument::getElementsByTagName() liveness affected by writing properties
14 $list = $doc->getElementsByTagName('a');
/PHP-8.4/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 17 milliseconds

1234