summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-02-13 19:55:17 +0000
committerMarcus Boerger <helly@php.net>2006-02-13 19:55:17 +0000
commit4e172c21a5420200c9d06f256d1fef2a562f5f21 (patch)
treeac1dd6416fe6026c00f7abfe25e2bd4c3f6a9839
parent6da04e6292e6f8a948fc51ed9b338c3dc5a58487 (diff)
downloadphp-git-4e172c21a5420200c9d06f256d1fef2a562f5f21.tar.gz
- Change unicode_enabled() to unicode_semantics() per Andrei's suggestion
-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 }