diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-05-03 12:58:02 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-05-06 19:15:39 +0200 |
commit | 60412c37aea007107e5b3cf03287321216cb58c4 (patch) | |
tree | 3afbe241ee1984bb68ee90a8c6af5b6470adac49 /ext/xml/xml.c | |
parent | 89d170758777f0f888006dcca8972966ca14ede4 (diff) | |
download | php-git-60412c37aea007107e5b3cf03287321216cb58c4.tar.gz |
Fix UNKNOWN default values in ext/xml
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r-- | ext/xml/xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 4477523edf..802f9a0caa 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -1012,7 +1012,7 @@ static void php_xml_parser_create_impl(INTERNAL_FUNCTION_PARAMETERS, int ns_supp XML_Char *encoding; - if (zend_parse_parameters(ZEND_NUM_ARGS(), (ns_support ? "|ss": "|s"), &encoding_param, &encoding_param_len, &ns_param, &ns_param_len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), (ns_support ? "|s!s": "|s!"), &encoding_param, &encoding_param_len, &ns_param, &ns_param_len) == FAILURE) { RETURN_THROWS(); } |