diff options
author | Anatol Belski <ab@php.net> | 2018-04-06 21:33:13 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-04-06 21:33:13 +0200 |
commit | 14de058086d76ac344fde67fc343023fc00279a9 (patch) | |
tree | ee01d1be783863a44d79faa9e06eeb84d9dfbb64 /ext/intl/php_intl.c | |
parent | 39301abbe19973e60ac4dbdb1d98da77fe7dfc52 (diff) | |
download | php-git-14de058086d76ac344fde67fc343023fc00279a9.tar.gz |
Rethink conditions
Raise the requirement to ICU 56. Mixing both old and new normalizer APIs
would create too much complexity. Therefore go by the recommended ICU
version where all the normalizer API became stable. For the older ICU,
the deprecated normalizer API is used.
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r-- | ext/intl/php_intl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index 9b52abc6fb..05832eaa34 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -206,7 +206,7 @@ ZEND_BEGIN_ARG_INFO_EX(normalizer_args, 0, 0, 1) ZEND_ARG_INFO(0, form) ZEND_END_ARG_INFO() -#if U_ICU_VERSION_MAJOR_NUM >= 49 +#if U_ICU_VERSION_MAJOR_NUM >= 56 ZEND_BEGIN_ARG_INFO_EX(decomposition_args, 0, 0, 1) ZEND_ARG_INFO(0, input) ZEND_END_ARG_INFO(); @@ -668,7 +668,7 @@ static const zend_function_entry intl_functions[] = { /* normalizer functions */ PHP_FE( normalizer_normalize, normalizer_args ) PHP_FE( normalizer_is_normalized, normalizer_args ) -#if U_ICU_VERSION_MAJOR_NUM >= 49 +#if U_ICU_VERSION_MAJOR_NUM >= 56 PHP_FE( normalizer_get_raw_decomposition, decomposition_args ) #endif |