Fix typo with msgfmt_parse_message()

This commit is contained in:
Fabien Villepinte 2019-11-19 19:48:13 +01:00
parent e208d236b3
commit e2a8cc0114
2 changed files with 3 additions and 3 deletions

View File

@ -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 )

View File

@ -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 )