diff options
-rw-r--r-- | ext/intl/idn/idn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/intl/idn/idn.c b/ext/intl/idn/idn.c index 833718e75b..6332488cc9 100644 --- a/ext/intl/idn/idn.c +++ b/ext/intl/idn/idn.c @@ -13,6 +13,7 @@ | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: Pierre A. Joye <pierre@php.net> | + | Gustavo Lopes <cataphract@php.net> | +----------------------------------------------------------------------+ */ /* $Id$ */ @@ -322,7 +323,7 @@ static void php_intl_idn_handoff(INTERNAL_FUNCTION_PARAMETERS, int mode) #endif } -/* {{{ proto int idn_to_ascii(string domain[, int options]) +/* {{{ proto int 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) { @@ -331,7 +332,7 @@ PHP_FUNCTION(idn_to_ascii) /* }}} */ -/* {{{ proto int idn_to_utf8(string domain[, int options]) +/* {{{ proto int 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) { |