]> granicus.if.org Git - php/commitdiff
fix proto
authorHannes Magnusson <bjori@php.net>
Sun, 10 May 2009 13:26:38 +0000 (13:26 +0000)
committerHannes Magnusson <bjori@php.net>
Sun, 10 May 2009 13:26:38 +0000 (13:26 +0000)
# Why doesn't this exist in HEAD?

ext/intl/idn/idn.c

index 34d9c1e3873212496eec9ab4572240ab8d176099..49b2b307e8b9f88568edfa70ce7db3fea548ebe2 100644 (file)
@@ -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)
 {