summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
diff options
context:
space:
mode:
authorPaul Crovella <paul.crovella@gmail.com>2018-03-20 17:33:23 -0700
committerJoe Watkins <krakjoe@php.net>2018-03-22 23:27:39 +0100
commitb873d3c288e47822f3adc3f4825f18ca74554a9f (patch)
treed1c5fddb31ad1833921575166d0e529d0455ee04 /ext/intl/php_intl.c
parenta795bd82651e61d05b96a3efca2042308a3af451 (diff)
downloadphp-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.c5
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 )