Searched refs:innerHTML (Results 1 – 18 of 18) sorted by relevance
2 Test reading Element::$innerHTML on HTML documents9 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);
16 echo $dom->documentElement->innerHTML, "\n";
2 Test reading Element::$innerHTML on XML documents18 var_dump($container->innerHTML);22 var_dump($container->innerHTML);28 var_dump($container->innerHTML);32 var_dump($container->innerHTML);37 var_dump($container->innerHTML);43 var_dump($container->innerHTML);46 var_dump($dom->documentElement->innerHTML);
2 Test writing Element::$innerHTML on XML documents11 $el->innerHTML = '<p>foo</p><p xmlns="">bar</p>';13 $el->innerHTML = '';15 $el->innerHTML = '&';17 $el->innerHTML = '<foo>';25 $child->innerHTML = '<default/>';43 $dom->documentElement->innerHTML = $dom->documentElement->innerHTML;47 $dom->documentElement->innerHTML = <<<XML
2 Test setting innerHTML on a prefixed element8 $dom->documentElement->innerHTML = '<child><x:subchild/></child>';
10 var_dump($dom->documentElement->innerHTML);17 var_dump($dom->documentElement->innerHTML);
2 Test writing Element::$innerHTML on XML documents - error cases20 $child->innerHTML = $html;
2 Test reading Element::$innerHTML on XML documents - error cases18 var_dump($container->innerHTML);
2 Test writing Element::$innerHTML on HTML documents11 $el->innerHTML = '<p>foo</p>';13 $el->innerHTML = '</div>';15 $el->innerHTML = '';17 $el->innerHTML = '<div></div> <p></p>';19 $el->innerHTML = "invalid\xffutf-8";25 $el->innerHTML = $str;31 $el->innerHTML = '<p>foo</p>';37 $el->innerHTML = '<p>foo</p>';43 $el->innerHTML = "</textarea>\0-->";
12 var_dump($template->innerHTML);18 $template->innerHTML = "<p>hello</template></p>";19 var_dump($template->innerHTML);
2 $innerHTML cache invalidation12 $dom->documentElement->innerHTML = '<b/>';
18 var_dump($template->innerHTML);28 var_dump($template->innerHTML);
27 $template->innerHTML = $template->innerHTML;29 var_dump($template->innerHTML);52 var_dump($template->innerHTML);
18 var_dump($template->innerHTML);
13 $child->innerHTML = $html;23 Deprecated: Creation of dynamic property DOMDocument::$innerHTML is deprecated in %s on line %d
41 ["innerHTML"]=>
1689 public string $innerHTML; variable in Dom\\Element
Completed in 27 milliseconds