From: Sara Golemon Date: Wed, 28 Dec 2016 06:52:26 +0000 (-0800) Subject: Correct function protos in intl/idn X-Git-Tag: php-7.2.0alpha1~740 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77becd0865712761723eccab6bd1061f687d844d;p=php Correct function protos in intl/idn --- diff --git a/ext/intl/idn/idn.c b/ext/intl/idn/idn.c index 579a292e43..4a4a09f26f 100644 --- a/ext/intl/idn/idn.c +++ b/ext/intl/idn/idn.c @@ -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) {