diff options
author | Stanislav Malyshev <stas@php.net> | 2009-07-06 23:48:27 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2009-07-06 23:48:27 +0000 |
commit | 387fbb2d4e14e3c0bea68fece658a88e3cdb2e2d (patch) | |
tree | af50ab1610da183ae7039855d9a599ce50a8f7af /ext/intl | |
parent | 43be94f2bed79040fa86698824a44c9c2691545e (diff) | |
download | php-git-387fbb2d4e14e3c0bea68fece658a88e3cdb2e2d.tar.gz |
fix protos
Diffstat (limited to 'ext/intl')
-rw-r--r-- | ext/intl/idn/idn.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/intl/idn/idn.c b/ext/intl/idn/idn.c index 49b2b307e8..bced9fa310 100644 --- a/ext/intl/idn/idn.c +++ b/ext/intl/idn/idn.c @@ -67,7 +67,7 @@ static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS, int mode) UChar converted[MAXPATHLEN]; int32_t converted_ret_len; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|ll", (char **)&domain, &domain_len, &option, &status) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", (char **)&domain, &domain_len, &option) == FAILURE) { return; } @@ -121,8 +121,8 @@ 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[, int options [, int status]]) - Converts a UTF-8 domain to ASCII, as defined in the IDNA RFC */ +/* {{{ proto int idn_to_ascii(string domain[, int options]) + Converts an Unicode domain to ASCII representation, as defined in the IDNA RFC */ PHP_FUNCTION(idn_to_ascii) { php_intl_idn_to(INTERNAL_FUNCTION_PARAM_PASSTHRU, INTL_IDN_TO_ASCII); @@ -130,8 +130,8 @@ PHP_FUNCTION(idn_to_ascii) /* }}} */ -/* {{{ proto int idn_to_utf8(string domain[, int options[, int status]]) - Converts a UTF-8 domain to ASCII, as defined in the IDNA RFC */ +/* {{{ proto int idn_to_utf8(string domain[, int options]) + Converts an ASCII representation of the domain to Unicode (UTF-8), as defined in the IDNA RFC */ PHP_FUNCTION(idn_to_utf8) { php_intl_idn_to(INTERNAL_FUNCTION_PARAM_PASSTHRU, INTL_IDN_TO_UTF8); |