We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eba85f9 commit d82f933Copy full SHA for d82f933
ext/xml/xml.c
@@ -274,10 +274,10 @@ zend_module_entry xml_module_entry = {
274
* the encoding is currently done internally by expat/xmltok.
275
*/
276
xml_encoding xml_encodings[] = {
277
- { "ISO-8859-1", xml_decode_iso_8859_1, xml_encode_iso_8859_1 },
278
- { "US-ASCII", xml_decode_us_ascii, xml_encode_us_ascii },
279
- { "UTF-8", NULL, NULL },
280
- { NULL, NULL, NULL }
+ { (XML_Char *)"ISO-8859-1", xml_decode_iso_8859_1, xml_encode_iso_8859_1 },
+ { (XML_Char *)"US-ASCII", xml_decode_us_ascii, xml_encode_us_ascii },
+ { (XML_Char *)"UTF-8", NULL, NULL },
+ { (XML_Char *)NULL, NULL, NULL }
281
};
282
283
static XML_Memory_Handling_Suite php_xml_mem_hdlrs;
0 commit comments