3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $html = '&#x02013266174';//'&#02; &#x02;'; $dom = new \DOMDocument('1.0', 'utf-8'); $loadResult = $dom->loadHtml('<?xml encoding="UTF-8">' . $html);
based on 7n05F
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.1
Warning: DOMDocument::loadHTML(): htmlParseCharRef: missing semicolon in Entity, line: 1 in /in/7llfj on line 6 Warning: DOMDocument::loadHTML(): htmlParseCharRef: invalid xmlChar value 321282420 in Entity, line: 1 in /in/7llfj on line 6
Output for hhvm-3.22.0
Warning: htmlParseCharRef: missing semicolon in Entity, line: 1 in /in/7llfj on line -1 Warning: htmlParseCharRef: invalid xmlChar value 321282420 in Entity, line: 1 in /in/7llfj on line -1
Output for hhvm-3.21.3
Warning: htmlParseCharRef: missing semicolon in Entity, line: 1 in /in/7llfj on line 6 Warning: htmlParseCharRef: invalid xmlChar value 321282420 in Entity, line: 1 in /in/7llfj on line 6
Output for hhvm-3.18.5
Warning: htmlParseCharRef: missing semicolon in Entity, line: 1 Warning: htmlParseCharRef: invalid xmlChar value 321282420 in Entity, line: 1