Closed
Description
If I understand correctly, the philosophy of this library is to not trigger warnings when XML is malformed, but instead use the logging mechanism.
However, xml_parse
can trigger warnings when parsing some malformed strings.
For example this code:
$encoder = new \PhpXmlRpc\Encoder();
$encoder->decodeXml("<\000\000\000\au\006");
Will trigger this warning:
PHP Warning: xml_parse(): input conversion failed due to input error, bytes 0x5C 0x61 0x75 0x06 in /home/pierre/www/fuzzer/vendor/phpxmlrpc/phpxmlrpc/src/Helper/XMLParser.php on line 263
(I am using phpxmlrpc 4.10.2.)