mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Don't explicitly set return value on ZPP failure in ext/xml
Failing ZPP throws as of PHP 8.0.0, so explicitly setting a return value is useless, and also slightly confusing.
This commit is contained in:
parent
7e8b3dd542
commit
37713c80e4
1 changed files with 1 additions and 1 deletions
|
@ -1065,7 +1065,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) {
|
||||
RETURN_FALSE;
|
||||
return;
|
||||
}
|
||||
|
||||
if (encoding_param != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue