diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c index 787cb48fcc556..9584be76cd98b 100644 --- a/ext/intl/php_intl.c +++ b/ext/intl/php_intl.c @@ -655,7 +655,7 @@ zend_function_entry intl_functions[] = { PHP_FE( collator_get_locale, collator_1_arg ) PHP_FE( collator_get_error_code, collator_0_args ) PHP_FE( collator_get_error_message, collator_0_args ) - PHP_FE( collator_get_sort_key, collator_2_args ) + PHP_FE( collator_get_sort_key, collator_1_arg ) /* formatter functions */ PHP_FE( numfmt_create, arginfo_numfmt_create ) diff --git a/ext/intl/tests/bug74705.phpt b/ext/intl/tests/bug74705.phpt index f26dfe5825e86..63a85845a0a72 100644 --- a/ext/intl/tests/bug74705.phpt +++ b/ext/intl/tests/bug74705.phpt @@ -2,7 +2,6 @@ Bug #74705 Wrong reflection on Collator::getSortKey --SKIPIF-- -= 0) die('skip for ICU < 51.2'); ?> --FILE--