Home
last modified time | relevance | path

Searched refs:getElementById (Results 1 – 21 of 21) sorted by relevance

/php-src/ext/dom/tests/
H A Dbug77686.phpt2 Bug #77686 (Removed elements are still returned by getElementById)
10 $body = $doc->getElementById('x');
11 $div = $doc->getElementById('y');
12 var_dump($doc->getElementById('y')->textContent);
16 var_dump($doc->getElementById('y'));
20 var_dump($doc->getElementById('y')->textContent);
23 var_dump($doc->getElementById('htmlelement')->textContent);
29 var_dump($doc->getElementById('myp'));
31 var_dump($doc->getElementById('myp')->textContent);
H A Dbug78221.phpt9 $p = $doc->getElementById('x');
H A DDOMElement_id.phpt37 var_dump($dom->getElementById("12345") === $div);
H A Dnode_textcontent.phpt28 $node = $dom->getElementById('test');
H A DDOMElement_toggleAttribute.phpt43 var_dump($html->getElementById("test") === NULL);
45 var_dump($html->getElementById("test") === NULL);
/php-src/ext/dom/tests/bug79701/
H A Dswap.phpt2 Bug #79701 (getElementById does not correctly work with duplicate definitions) - swapping variation
15 $test1 = $dom->getElementById('x');
18 var_dump($dom->getElementById('x')?->nodeName);
21 var_dump($dom->getElementById('x')?->nodeName);
23 $dom->getElementById('x')->remove();
24 var_dump($dom->getElementById('x')?->nodeName);
26 $dom->getElementById('x')->remove();
27 var_dump($dom->getElementById('x')?->nodeName);
30 var_dump($dom->getElementById('x')?->nodeName);
33 var_dump($dom->getElementById('x')?->nodeName);
H A Dset_attribute_html.phpt17 $test1 = $dom->getElementById('x');
18 $test2 = $dom->getElementById('y');
23 var_dump($dom->getElementById('x')?->nodeName);
24 var_dump($dom->getElementById('y')?->nodeName);
29 var_dump($dom->getElementById('x')?->nodeName);
30 var_dump($dom->getElementById('y')?->nodeName);
35 var_dump($dom->getElementById('x')?->nodeName);
36 var_dump($dom->getElementById('y')?->nodeName);
41 var_dump($dom->getElementById('x')?->nodeName);
42 var_dump($dom->getElementById('y')?->nodeName);
[all …]
H A Dset_attribute_ns_html.phpt15 $test1 = $dom->getElementById('x');
16 $test2 = $dom->getElementById('y');
21 var_dump($dom->getElementById('x')?->nodeName);
22 var_dump($dom->getElementById('y')?->nodeName);
27 var_dump($dom->getElementById('x')?->nodeName);
28 var_dump($dom->getElementById('y')?->nodeName);
33 var_dump($dom->getElementById('x')?->nodeName);
34 var_dump($dom->getElementById('y')?->nodeName);
39 var_dump($dom->getElementById('x')?->nodeName);
40 var_dump($dom->getElementById('y')?->nodeName);
[all …]
H A Dset_attr_value.phpt2 Bug #79701 (getElementById does not correctly work with duplicate definitions) - nodeValue / value …
16 $test1 = $dom->getElementById('x');
17 $test2 = $dom->getElementById('y');
23 var_dump($dom->getElementById('x')?->nodeName);
24 var_dump($dom->getElementById('y')?->nodeName);
27 var_dump($dom->getElementById('x')?->nodeName);
28 var_dump($dom->getElementById('y')?->nodeName);
H A Did_property.phpt2 Bug #79701 (getElementById does not correctly work with duplicate definitions) - id property variat…
18 var_dump($dom->getElementById("x")?->nodeName);
22 var_dump($dom->getElementById("x")?->nodeName);
25 var_dump($dom->getElementById("x")?->nodeName);
28 var_dump($dom->getElementById("x")?->nodeName);
31 var_dump($dom->getElementById("x")?->nodeName);
34 var_dump($dom->getElementById("x")?->nodeName);
37 var_dump($dom->getElementById("x")?->nodeName);
H A Dtoggle.phpt2 Bug #79701 (getElementById does not correctly work with duplicate definitions) - toggle variation
8 var_dump($dom->getElementById('test')?->nodeName);
10 var_dump($dom->getElementById('test')?->nodeName);
12 var_dump($dom->getElementById('test')?->nodeName);
H A Dremove_attribute.phpt2 Bug #79701 (getElementById does not correctly work with duplicate definitions) - remove attribute v…
14 var_dump($dom->getElementById('x')?->nodeName);
15 $dom->getElementById('x')->removeAttribute('xml:id');
16 var_dump($dom->getElementById('x')?->nodeName);
H A Dset_attribute_xml.phpt8 $test1 = $dom->getElementById('x');
9 $test2 = $dom->getElementById('y');
14 var_dump($dom->getElementById('x')?->nodeName);
15 var_dump($dom->getElementById('y')?->nodeName);
20 var_dump($dom->getElementById('x')?->nodeName);
21 var_dump($dom->getElementById('y')?->nodeName);
26 var_dump($dom->getElementById('x')?->nodeName);
27 var_dump($dom->getElementById('y')?->nodeName);
32 var_dump($dom->getElementById('x')?->nodeName);
33 var_dump($dom->getElementById('y')?->nodeName);
[all …]
H A Dunconnected.phpt2 Bug #79701 (getElementById does not correctly work with duplicate definitions) - unconnected variat…
10 var_dump($dom->getElementById('test')?->nodeName);
12 var_dump($dom->getElementById('test')?->nodeName);
H A Dnode.phpt2 Bug #79701 (getElementById does not correctly work with duplicate definitions) - attribute node var…
12 var_dump($dom->getElementById('test')?->nodeName);
14 var_dump($dom->getElementById('test')?->nodeName);
H A Dprepend.phpt2 Bug #79701 (getElementById does not correctly work with duplicate definitions) - prepending variati…
24 $root->removeChild($dom->getElementById('foo'));
26 var_dump($dom->getElementById('foo')?->nodeName);
/php-src/ext/dom/tests/modern/css_selectors/
H A Dclosest.phpt26 test($dom->getElementById('div3'), 'div');
27 test($dom->getElementById('div3'), '[class="foo"]');
28 test($dom->getElementById('div3'), ':not(root)');
29 test($dom->getElementById('div3'), ':not(div)');
30 test($dom->getElementById('div3'), 'a');
31 test($dom->getElementById('div3'), 'root :not(div[class])');
32 test($dom->getElementById('div3'), 'root > :not(div[class])');
/php-src/ext/libxml/tests/
H A Dbug42112.phpt12 $node = $doc->getElementById( 'id1' );
22 $node = $doc->getElementById( 'id1' );
/php-src/ext/dom/
H A Dphp_dom.stub.php984 public function getElementById(string $elementId): ?DOMElement {} function in DOMDocument
1999 public function getElementById(string $elementId): ?Element {} function in Dom\\Document
H A Ddocument.c1031 PHP_METHOD(DOMDocument, getElementById) in PHP_METHOD() argument
H A Dphp_dom_arginfo.h1218 ZEND_METHOD(DOMDocument, getElementById);
1483 ZEND_ME(DOMDocument, getElementById, arginfo_class_DOMDocument_getElementById, ZEND_ACC_PUBLIC)

Completed in 38 milliseconds