You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
libxml update on Linux systems changes behavior of DOMDocument->loadHTML #24349
It seems it now handles HTML code and does not need this XML trick anymore (because libxml now seems to convert <?xml to <!--?xml .
So what is the right solution to have the same result for PHP 8.1 - PHP 8.5?
PHP Version
PHP 8.5.9-dev (cli) (built: Jun 21 2026 23:58:16) (ZTS Visual C++ 2022 x64)
Copyright (c) The PHP Group
Zend Engine v4.5.9-dev, Copyright (c) Zend Technologies
with Xdebug v3.5.0, Copyright (c) 2002-2025, by Derick Rethans
with Zend OPcache v8.5.9-dev, Copyright (c), by Zend Technologie
Activity
ndossche commentedon Oct 15, 2026
This is effectively a duplicate of #24300, please see the discussion there (also for broader context).
DanielRuf commentedon Oct 15, 2026
Perfect, thank you very much for pointing me to the existing issue.