Home
last modified time | relevance | path

Searched refs:encoding_param (Results 1 – 1 of 1) sorted by relevance

/PHP-7.2/ext/xml/
H A Dxml.c1090 char *encoding_param = NULL; in php_xml_parser_create_impl() local
1098 …if (zend_parse_parameters(ZEND_NUM_ARGS(), (ns_support ? "|ss": "|s"), &encoding_param, &encoding_… in php_xml_parser_create_impl()
1102 if (encoding_param != NULL) { in php_xml_parser_create_impl()
1109 } else if (strcasecmp(encoding_param, "ISO-8859-1") == 0) { in php_xml_parser_create_impl()
1111 } else if (strcasecmp(encoding_param, "UTF-8") == 0) { in php_xml_parser_create_impl()
1113 } else if (strcasecmp(encoding_param, "US-ASCII") == 0) { in php_xml_parser_create_impl()
1116 php_error_docref(NULL, E_WARNING, "unsupported source encoding \"%s\"", encoding_param); in php_xml_parser_create_impl()

Completed in 7 milliseconds