mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
The userland constants do not start with PHP_
This commit is contained in:
parent
b09be29ac1
commit
6a5b3f0ff9
3 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue