Searched refs:loadHTML (Results 1 – 25 of 27) sorted by relevance
12
2 DOMDocument::loadHTML() should fail if empty string provided as input11 $doc->loadHTML('');17 DOMDocument::loadHTML(): Argument #1 ($source) must not be empty
2 Bug #74004 (DOMDocument->loadHTML and ->loadHTMLFile do not heed LIBXML_NOWARNING and LIBXML_NOERRO…9 $doc->loadHTML("<tag-throw></tag-throw>",LIBXML_NOERROR);
2 Bug #80268 (loadHTML() truncates at NUL bytes)12 $doc->loadHTML("<p>foo\0bar</p>");27 Warning: DOMDocument::loadHTML(): Char 0x0 out of allowed range in Entity, line: 1 in %s on line %d
9 $dom->loadHTML($htm);13 Warning: DOMDocument::loadHTML(): htmlParseDocTypeDecl : no DOCTYPE name ! in Entity, line: 1 in %s…
2 Bug #69679 (DOMDocument::loadHTML refuses to accept NULL bytes)9 $doc->loadHTML($html);
2 DOMDocument::loadHTML11 $doc->loadHTML("<html><body><p>Test<br></p></body></html>");
2 Bug #80268 (loadHTML() truncates at NUL bytes)12 $doc->loadHTML("<p>foo\0bar</p>");
10 $v2->loadHTML("t");17 $v2->loadHTML("oU");
15 $dom->loadHTML($html);36 $dom->loadHTML($html);55 $dom->loadHTML($html);
8 $doc->loadHTML('<p id=x>foo</p>');
17 $d->loadHTML($str);
8 $dom->loadHTML("<!DOCTYPE html><p>hello</p>");
18 $dom->loadHTML($html);
16 $doc->loadHTML('<a href="https://php.net">hello</a>');
10 ($dom = new DOMDocument('1.0', 'UTF-8'))->loadHTML($document);
17 $dom->loadHTML($html);
9 $doc->loadHTML('<a href="https://php.net">hello</a>');
11 $htmldoc->loadHTML($html);
13 $dom->loadHTML($html, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
26 $dom->loadHTML($html);
9 $doc->loadHTML('<html id="htmlelement"><body id="x">before<div id="y">hello</div>after</body></html…
10 $doc->loadHTML('<span attr1="value1" attr2="value2"></span>');
15 $doc->loadHTML($html);
10 $dom->loadHTML('<span title=""y">x</span><span title=""z">x</span>');21 Warning: DOMDocument::loadHTML(): error parsing attribute name in Entity, line: 1 in %s on line %d23 Warning: DOMDocument::loadHTML(): error parsing attribute name in Entity, line: 1 in %s on line %d
763 public function loadHTML(string $source, int $options = 0) {} function in DOMDocument
Completed in 16 milliseconds