The userland constants do not start with PHP_

This commit is contained in:
George Peter Banyard 2023-02-23 04:08:58 +00:00
parent b09be29ac1
commit 6a5b3f0ff9
No known key found for this signature in database
GPG key ID: 3306078E3194AEBD
3 changed files with 4 additions and 4 deletions

View file

@ -1457,7 +1457,7 @@ PHP_FUNCTION(xml_parser_set_option)
break;
}
default:
zend_argument_value_error(2, "must be a PHP_XML_OPTION_* constant");
zend_argument_value_error(2, "must be a XML_OPTION_* constant");
RETURN_THROWS();
break;
}
@ -1491,7 +1491,7 @@ PHP_FUNCTION(xml_parser_get_option)
RETURN_STRING((char *)parser->target_encoding);
break;
default:
zend_argument_value_error(2, "must be a PHP_XML_OPTION_* constant");
zend_argument_value_error(2, "must be a XML_OPTION_* constant");
RETURN_THROWS();
}
}