History log of /php-src/ext/simplexml/tests/xml_parsing_LIBXML_RECOVER.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 035a5fdf 25-Feb-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add LIBXML_RECOVER (#13504)

Setting the recovery option by using a hardcoded value (1) worked
already for SimpleXML. For DOM, a small change is necessary because
otherwise the recove

Add LIBXML_RECOVER (#13504)

Setting the recovery option by using a hardcoded value (1) worked
already for SimpleXML. For DOM, a small change is necessary because
otherwise the recover field overwrites the recovery option.

From a quick search on GitHub [1] it looks like this won't clash with
existing PHP code as no one seems to define (or use) a constant with
such a name.

[1] https://github.com/search?q=LIBXML_RECOVER+language%3APHP&type=code&l=PHP

show more ...