summaryrefslogtreecommitdiff
path: root/ext/unicode/unicode.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/unicode/unicode.c')
-rw-r--r--ext/unicode/unicode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/unicode/unicode.c b/ext/unicode/unicode.c
index 4382b45adb..1ea442ee47 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 }