summaryrefslogtreecommitdiff
path: root/ext/intl/uchar/uchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/uchar/uchar.c')
-rw-r--r--ext/intl/uchar/uchar.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/intl/uchar/uchar.c b/ext/intl/uchar/uchar.c
index 0f44b454b4..ee90007546 100644
--- a/ext/intl/uchar/uchar.c
+++ b/ext/intl/uchar/uchar.c
@@ -612,10 +612,9 @@ IC_CHAR_METHOD_CHAR(getBidiPairedBracket)
/* }}} */
int php_uchar_minit(INIT_FUNC_ARGS) {
- zend_class_entry tmp, *ce;
+ zend_class_entry *ce;
- INIT_CLASS_ENTRY(tmp, "IntlChar", class_IntlChar_methods);
- ce = zend_register_internal_class(&tmp);
+ ce = register_class_IntlChar();
#define IC_CONSTL(name, val) \
zend_declare_class_constant_long(ce, name, strlen(name), val);