]> granicus.if.org Git - php/commitdiff
Fix typo with msgfmt_parse_message()
authorFabien Villepinte <fabien.villepinte@gmail.com>
Tue, 19 Nov 2019 18:48:13 +0000 (19:48 +0100)
committerFabien Villepinte <fabien.villepinte@gmail.com>
Tue, 19 Nov 2019 18:48:13 +0000 (19:48 +0100)
ext/intl/msgformat/msgformat_parse.c
ext/intl/php_intl.c

index f5eaecfd00d735f0f228f5a6c2033d7eebbe5da1..f212f15ff6e0b1c438075db76479f5d08c8cabd2 100644 (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 )
index 585d16cab6ba4093daf1b05a7f924096b6d0d41d..95481aab793d7ec5a34c47bd7e400f224c3cd090 100644 (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 )