]> granicus.if.org Git - php/commitdiff
Correct function protos in intl/idn
authorSara Golemon <pollita@php.net>
Wed, 28 Dec 2016 06:52:26 +0000 (22:52 -0800)
committerSara Golemon <pollita@php.net>
Wed, 28 Dec 2016 06:52:26 +0000 (22:52 -0800)
ext/intl/idn/idn.c

index 579a292e43cb4adf8c421014864cea908325845f..4a4a09f26f9723404ad588f8c9b96d6db979d22f 100644 (file)
@@ -312,7 +312,7 @@ static void php_intl_idn_handoff(INTERNAL_FUNCTION_PARAMETERS, int mode)
 #endif
 }
 
-/* {{{ proto int idn_to_ascii(string domain[, int options[, int variant[, array &idna_info]]])
+/* {{{ proto string idn_to_ascii(string domain[, int options[, int variant[, array &idna_info]]])
    Converts an Unicode domain to ASCII representation, as defined in the IDNA RFC */
 PHP_FUNCTION(idn_to_ascii)
 {
@@ -321,7 +321,7 @@ PHP_FUNCTION(idn_to_ascii)
 /* }}} */
 
 
-/* {{{ proto int idn_to_utf8(string domain[, int options[, int variant[, array &idna_info]]])
+/* {{{ proto string idn_to_utf8(string domain[, int options[, int variant[, array &idna_info]]])
    Converts an ASCII representation of the domain to Unicode (UTF-8), as defined in the IDNA RFC */
 PHP_FUNCTION(idn_to_utf8)
 {