diff --git a/ext/unicode/unicode.c b/ext/unicode/unicode.c index 4382b45adb9..1ea442ee47f 100644 --- a/ext/unicode/unicode.c +++ b/ext/unicode/unicode.c @@ -68,9 +68,9 @@ static PHP_FUNCTION(unicode_decode) } /* }}} */ -/* {{{ proto bool unicode_enabled() +/* {{{ proto bool unicode_semantics() Check whether unicode semantics is enabled */ -static PHP_FUNCTION(unicode_enabled) +static PHP_FUNCTION(unicode_semantics) { RETURN_BOOL(UG(unicode)); } @@ -117,7 +117,7 @@ zend_function_entry unicode_functions[] = { PHP_FE(i18n_loc_get_default, NULL) PHP_FE(i18n_loc_set_default, NULL) PHP_FE(unicode_decode, NULL) - PHP_FE(unicode_enabled, NULL) + PHP_FE(unicode_semantics, NULL) PHP_FE(unicode_encode, NULL) PHP_FE(i18n_strtotitle, NULL) { NULL, NULL, NULL }