Skip to content

Commit 77becd0

Browse files
committed
Correct function protos in intl/idn
1 parent 3e4b74d commit 77becd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/intl/idn/idn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static void php_intl_idn_handoff(INTERNAL_FUNCTION_PARAMETERS, int mode)
312312
#endif
313313
}
314314

315-
/* {{{ proto int idn_to_ascii(string domain[, int options[, int variant[, array &idna_info]]])
315+
/* {{{ proto string idn_to_ascii(string domain[, int options[, int variant[, array &idna_info]]])
316316
Converts an Unicode domain to ASCII representation, as defined in the IDNA RFC */
317317
PHP_FUNCTION(idn_to_ascii)
318318
{
@@ -321,7 +321,7 @@ PHP_FUNCTION(idn_to_ascii)
321321
/* }}} */
322322

323323

324-
/* {{{ proto int idn_to_utf8(string domain[, int options[, int variant[, array &idna_info]]])
324+
/* {{{ proto string idn_to_utf8(string domain[, int options[, int variant[, array &idna_info]]])
325325
Converts an ASCII representation of the domain to Unicode (UTF-8), as defined in the IDNA RFC */
326326
PHP_FUNCTION(idn_to_utf8)
327327
{

0 commit comments

Comments
 (0)