mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fix various uouv in intl
This commit is contained in:
parent
a145b40fa6
commit
322da7bcc3
1 changed files with 6 additions and 6 deletions
|
@ -86,7 +86,7 @@ IC_METHOD(hasBinaryProperty) {
|
||||||
UChar32 cp;
|
UChar32 cp;
|
||||||
zend_long prop;
|
zend_long prop;
|
||||||
zend_string *string_codepoint;
|
zend_string *string_codepoint;
|
||||||
zend_long int_codepoint;
|
zend_long int_codepoint = 0;
|
||||||
|
|
||||||
ZEND_PARSE_PARAMETERS_START(2, 2)
|
ZEND_PARSE_PARAMETERS_START(2, 2)
|
||||||
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
|
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
|
||||||
|
@ -106,7 +106,7 @@ IC_METHOD(getIntPropertyValue) {
|
||||||
UChar32 cp;
|
UChar32 cp;
|
||||||
zend_long prop;
|
zend_long prop;
|
||||||
zend_string *string_codepoint;
|
zend_string *string_codepoint;
|
||||||
zend_long int_codepoint;
|
zend_long int_codepoint = 0;
|
||||||
|
|
||||||
ZEND_PARSE_PARAMETERS_START(2, 2)
|
ZEND_PARSE_PARAMETERS_START(2, 2)
|
||||||
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
|
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
|
||||||
|
@ -214,7 +214,7 @@ IC_METHOD(getBlockCode) {
|
||||||
IC_METHOD(charName) {
|
IC_METHOD(charName) {
|
||||||
UChar32 cp;
|
UChar32 cp;
|
||||||
zend_string *string_codepoint;
|
zend_string *string_codepoint;
|
||||||
zend_long int_codepoint;
|
zend_long int_codepoint = 0;
|
||||||
UErrorCode error = U_ZERO_ERROR;
|
UErrorCode error = U_ZERO_ERROR;
|
||||||
zend_long nameChoice = U_UNICODE_CHAR_NAME;
|
zend_long nameChoice = U_UNICODE_CHAR_NAME;
|
||||||
zend_string *buffer = NULL;
|
zend_string *buffer = NULL;
|
||||||
|
@ -294,7 +294,7 @@ static UBool enumCharNames_callback(enumCharNames_data *context,
|
||||||
IC_METHOD(enumCharNames) {
|
IC_METHOD(enumCharNames) {
|
||||||
UChar32 start, limit;
|
UChar32 start, limit;
|
||||||
zend_string *string_start, *string_limit;
|
zend_string *string_start, *string_limit;
|
||||||
zend_long int_start, int_limit;
|
zend_long int_start = 0, int_limit = 0;
|
||||||
enumCharNames_data context;
|
enumCharNames_data context;
|
||||||
zend_long nameChoice = U_UNICODE_CHAR_NAME;
|
zend_long nameChoice = U_UNICODE_CHAR_NAME;
|
||||||
UErrorCode error = U_ZERO_ERROR;
|
UErrorCode error = U_ZERO_ERROR;
|
||||||
|
@ -391,7 +391,7 @@ IC_METHOD(foldCase) {
|
||||||
UChar32 cp, ret;
|
UChar32 cp, ret;
|
||||||
zend_long options = U_FOLD_CASE_DEFAULT;
|
zend_long options = U_FOLD_CASE_DEFAULT;
|
||||||
zend_string *string_codepoint;
|
zend_string *string_codepoint;
|
||||||
zend_long int_codepoint;
|
zend_long int_codepoint = 0;
|
||||||
|
|
||||||
ZEND_PARSE_PARAMETERS_START(2, 2)
|
ZEND_PARSE_PARAMETERS_START(2, 2)
|
||||||
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
|
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
|
||||||
|
@ -421,7 +421,7 @@ IC_METHOD(digit) {
|
||||||
zend_long radix = 10;
|
zend_long radix = 10;
|
||||||
int ret;
|
int ret;
|
||||||
zend_string *string_codepoint;
|
zend_string *string_codepoint;
|
||||||
zend_long int_codepoint;
|
zend_long int_codepoint = 0;
|
||||||
|
|
||||||
ZEND_PARSE_PARAMETERS_START(1, 2)
|
ZEND_PARSE_PARAMETERS_START(1, 2)
|
||||||
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
|
Z_PARAM_STR_OR_LONG(string_codepoint, int_codepoint)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue