From: Hannes Magnusson Date: Sun, 10 May 2009 13:26:38 +0000 (+0000) Subject: fix proto X-Git-Tag: php-5.3.0RC3~305 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64e4c690902d279442d17213d48fab63dcf37438;p=php fix proto # Why doesn't this exist in HEAD? --- diff --git a/ext/intl/idn/idn.c b/ext/intl/idn/idn.c index 34d9c1e387..49b2b307e8 100644 --- a/ext/intl/idn/idn.c +++ b/ext/intl/idn/idn.c @@ -121,7 +121,7 @@ static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS, int mode) RETURN_STRINGL(((char *)converted_utf8), converted_utf8_len, 0); } -/* {{{ proto int idn_to_ascii(string domain) +/* {{{ proto int idn_to_ascii(string domain[, int options [, int status]]) Converts a UTF-8 domain to ASCII, as defined in the IDNA RFC */ PHP_FUNCTION(idn_to_ascii) { @@ -130,7 +130,7 @@ PHP_FUNCTION(idn_to_ascii) /* }}} */ -/* {{{ proto int idn_to_ascii(string domain) +/* {{{ proto int idn_to_utf8(string domain[, int options[, int status]]) Converts a UTF-8 domain to ASCII, as defined in the IDNA RFC */ PHP_FUNCTION(idn_to_utf8) {