Searched refs:getElementById (Results 1 – 21 of 21) sorted by relevance
/php-src/ext/dom/tests/ |
H A D | bug77686.phpt | 2 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 D | bug78221.phpt | 9 $p = $doc->getElementById('x');
|
H A D | DOMElement_id.phpt | 37 var_dump($dom->getElementById("12345") === $div);
|
H A D | node_textcontent.phpt | 28 $node = $dom->getElementById('test');
|
H A D | DOMElement_toggleAttribute.phpt | 43 var_dump($html->getElementById("test") === NULL); 45 var_dump($html->getElementById("test") === NULL);
|
/php-src/ext/dom/tests/bug79701/ |
H A D | swap.phpt | 2 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 D | set_attribute_html.phpt | 17 $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 D | set_attribute_ns_html.phpt | 15 $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 D | set_attr_value.phpt | 2 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 D | id_property.phpt | 2 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 D | toggle.phpt | 2 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 D | remove_attribute.phpt | 2 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 D | set_attribute_xml.phpt | 8 $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 D | unconnected.phpt | 2 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 D | node.phpt | 2 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 D | prepend.phpt | 2 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 D | closest.phpt | 26 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 D | bug42112.phpt | 12 $node = $doc->getElementById( 'id1' ); 22 $node = $doc->getElementById( 'id1' );
|
/php-src/ext/dom/ |
H A D | php_dom.stub.php | 984 public function getElementById(string $elementId): ?DOMElement {} function in DOMDocument 1999 public function getElementById(string $elementId): ?Element {} function in Dom\\Document
|
H A D | document.c | 1031 PHP_METHOD(DOMDocument, getElementById) in PHP_METHOD() argument
|
H A D | php_dom_arginfo.h | 1218 ZEND_METHOD(DOMDocument, getElementById); 1483 ZEND_ME(DOMDocument, getElementById, arginfo_class_DOMDocument_getElementById, ZEND_ACC_PUBLIC)
|
Completed in 58 milliseconds