diff options
author | Paul Crovella <paul.crovella@gmail.com> | 2018-03-20 17:33:23 -0700 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2018-03-22 23:27:39 +0100 |
commit | b873d3c288e47822f3adc3f4825f18ca74554a9f (patch) | |
tree | d1c5fddb31ad1833921575166d0e529d0455ee04 /ext/intl/php_intl.c | |
parent | a795bd82651e61d05b96a3efca2042308a3af451 (diff) | |
download | php-git-b873d3c288e47822f3adc3f4825f18ca74554a9f.tar.gz |
Add normalizer_get_raw_decomposition function
Implements #76111 https://bugs.php.net/bug.php?id=76111
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r-- | ext/intl/php_intl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index 7b2f206e52..0afc96b081 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -206,6 +206,10 @@ ZEND_BEGIN_ARG_INFO_EX(normalizer_args, 0, 0, 1) ZEND_ARG_INFO(0, form) ZEND_END_ARG_INFO() +ZEND_BEGIN_ARG_INFO_EX(decomposition_args, 0, 0, 1) + ZEND_ARG_INFO(0, input) +ZEND_END_ARG_INFO(); + ZEND_BEGIN_ARG_INFO_EX(grapheme_1_arg, 0, 0, 1) ZEND_ARG_INFO(0, string) ZEND_END_ARG_INFO() @@ -662,6 +666,7 @@ static const zend_function_entry intl_functions[] = { /* normalizer functions */ PHP_FE( normalizer_normalize, normalizer_args ) PHP_FE( normalizer_is_normalized, normalizer_args ) + PHP_FE( normalizer_get_raw_decomposition, decomposition_args ) /* Locale functions */ PHP_NAMED_FE( locale_get_default, zif_locale_get_default, locale_0_args ) |