Browse Source

fix proto

# Why doesn't this exist in HEAD?
experimental/5.3-FPM
Hannes Magnusson 17 years ago
parent
commit
64e4c69090
  1. 4
      ext/intl/idn/idn.c

4
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); 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 */ Converts a UTF-8 domain to ASCII, as defined in the IDNA RFC */
PHP_FUNCTION(idn_to_ascii) 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 */ Converts a UTF-8 domain to ASCII, as defined in the IDNA RFC */
PHP_FUNCTION(idn_to_utf8) PHP_FUNCTION(idn_to_utf8)
{ {

Loading…
Cancel
Save