]> granicus.if.org Git - php/commitdiff
- Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c
authorGustavo André dos Santos Lopes <cataphract@php.net>
Thu, 24 Nov 2011 22:45:50 +0000 (22:45 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Thu, 24 Nov 2011 22:45:50 +0000 (22:45 +0000)
ext/intl/idn/idn.c

index 833718e75b3605e51757869e879251d64d046002..6332488cc9c3d5347fb0e5405d581e98e9d3cd96 100644 (file)
@@ -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)
 {