Searched refs:innerHTML (Results 1 – 20 of 20) 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";
20 $template->innerHTML = '<p>foo</p>';
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-->";
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
18 var_dump($container->innerHTML);23 var_dump($container->innerHTML);30 var_dump($container->innerHTML);35 var_dump($container->innerHTML);41 var_dump($container->innerHTML);48 var_dump($container->innerHTML);52 var_dump($dom->documentElement->innerHTML);
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;
18 var_dump($container->innerHTML);
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
43 ["innerHTML"]=>105 ["innerHTML"]=>
41 ["innerHTML"]=>
1690 public string $innerHTML; variable in Dom\\Element
Completed in 28 milliseconds