diff options
author | Sara Golemon <pollita@php.net> | 2014-12-15 14:29:52 -0800 |
---|---|---|
committer | Sara Golemon <sgolemon@fb.com> | 2015-01-16 14:37:44 -0800 |
commit | ebb60ac7dd179a3bea540d50a7d595010a82a656 (patch) | |
tree | 4a55cfedf9f3ad7fb156ab2025d8d224f7a14bc0 /ext/intl/php_intl.c | |
parent | 22bb3ce61a895f77178078da4a7e29cb39a532a7 (diff) | |
download | php-git-ebb60ac7dd179a3bea540d50a7d595010a82a656.tar.gz |
Add IntlChar class to intl extension
Exposes ICU's uchar functionality as a set of static methods
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r-- | ext/intl/php_intl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index 3e45e48016..aef6dc15c7 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -85,6 +85,7 @@ #include "breakiterator/breakiterator_iterators.h" #include "idn/idn.h" +#include "uchar/uchar.h" #if U_ICU_VERSION_MAJOR_NUM * 1000 + U_ICU_VERSION_MINOR_NUM >= 4002 # include "spoofchecker/spoofchecker_class.h" @@ -1003,6 +1004,9 @@ PHP_MINIT_FUNCTION( intl ) /* 'Converter' class for codepage conversions */ php_converter_minit(INIT_FUNC_ARGS_PASSTHRU); + /* IntlChar class */ + php_uchar_minit(INIT_FUNC_ARGS_PASSTHRU); + return SUCCESS; } /* }}} */ |