- Output for 8.1.29, 8.2.20 - 8.2.23, 8.3.5 - 8.3.11
- Fatal error: Uncaught Error: Class "DOM\HTMLDocument" not found in /in/IhHj3:3
Stack trace:
#0 {main}
thrown in /in/IhHj3 on line 3
Process exited with code 255.
<?php
var_dump((DOM\HTMLDocument::createEmpty())->relaxNgValidateSource("<p><a href=\"/foo\">Text here</p>"));