From 77becd0865712761723eccab6bd1061f687d844d Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 27 Dec 2016 22:52:26 -0800 Subject: [PATCH] Correct function protos in intl/idn --- ext/intl/idn/idn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.50.1