summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2011-11-24 22:45:50 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2011-11-24 22:45:50 +0000
commit5b383dacdff480ee36ccd349ac76b51d5d637b15 (patch)
tree79fc64248989e4263390149e2190275b9e16219d
parentfa4fe639447e821a0617b80609f18eb251d4bf2b (diff)
downloadphp-git-5b383dacdff480ee36ccd349ac76b51d5d637b15.tar.gz
- Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c
-rw-r--r--ext/intl/idn/idn.c5
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)
{