summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
diff options
context:
space:
mode:
authorFabien Villepinte <fabien.villepinte@gmail.com>2019-11-19 19:48:13 +0100
committerFabien Villepinte <fabien.villepinte@gmail.com>2019-11-19 19:48:13 +0100
commite2a8cc0114849ec7eff4ef74eb21778523c184f1 (patch)
treed7b45476a386c9e4887f4819df47cc0219fa97f5 /ext/intl/php_intl.c
parente208d236b3f8af855e219ea3abc796b8dd9d0d5d (diff)
downloadphp-git-e2a8cc0114849ec7eff4ef74eb21778523c184f1.tar.gz
Fix typo with msgfmt_parse_message()
Diffstat (limited to 'ext/intl/php_intl.c')
-rw-r--r--ext/intl/php_intl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c
index 585d16cab6..95481aab79 100644
--- a/ext/intl/php_intl.c
+++ b/ext/intl/php_intl.c
@@ -298,7 +298,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_msgfmt_parse, 0, 0, 2)
ZEND_ARG_INFO(0, source)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_numfmt_parse_message, 0, 0, 3)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_msgfmt_parse_message, 0, 0, 3)
ZEND_ARG_INFO(0, locale)
ZEND_ARG_INFO(0, pattern)
ZEND_ARG_INFO(0, source)
@@ -614,7 +614,7 @@ static const zend_function_entry intl_functions[] = {
PHP_FE( msgfmt_format, arginfo_msgfmt_format )
PHP_FE( msgfmt_format_message, arginfo_msgfmt_format_message )
PHP_FE( msgfmt_parse, arginfo_msgfmt_parse )
- PHP_FE( msgfmt_parse_message, arginfo_numfmt_parse_message )
+ PHP_FE( msgfmt_parse_message, arginfo_msgfmt_parse_message )
PHP_FE( msgfmt_set_pattern, arginfo_msgfmt_set_pattern )
PHP_FE( msgfmt_get_pattern, arginfo_msgfmt_get_locale )
PHP_FE( msgfmt_get_locale, arginfo_msgfmt_get_locale )