From: Fabien Villepinte Date: Tue, 19 Nov 2019 18:48:13 +0000 (+0100) Subject: Fix typo with msgfmt_parse_message() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2a8cc0114849ec7eff4ef74eb21778523c184f1;p=php Fix typo with msgfmt_parse_message() --- diff --git a/ext/intl/msgformat/msgformat_parse.c b/ext/intl/msgformat/msgformat_parse.c index f5eaecfd00..f212f15ff6 100644 --- a/ext/intl/msgformat/msgformat_parse.c +++ b/ext/intl/msgformat/msgformat_parse.c @@ -79,7 +79,7 @@ PHP_FUNCTION( msgfmt_parse ) /* {{{ proto array MessageFormatter::formatMessage( string $locale, string $pattern, string $source ) * Parse a message. }}} */ -/* {{{ proto array numfmt_parse_message( string $locale, string $pattern, string $source ) +/* {{{ proto array msgfmt_parse_message( string $locale, string $pattern, string $source ) * Parse a message. */ PHP_FUNCTION( msgfmt_parse_message ) 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 )