Hannes Magnusson kirjoitti:
bjori Sun May 10 13:26:39 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/intl/idn idn.c
Log:
fix proto
# Why doesn't this exist in HEAD?
The whole ext/intl doesn't work properly in HEAD. (not sure if it even compiles)
I think there's even some comment by Stas somewhere about that..either it was in
the sources or in some commit message..can't remember right now. :)
--Jani
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/idn/idn.c?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/intl/idn/idn.c
diff -u php-src/ext/intl/idn/idn.c:1.1.2.1 php-src/ext/intl/idn/idn.c:1.1.2.2
--- php-src/ext/intl/idn/idn.c:1.1.2.1 Mon Jan 26 22:30:57 2009
+++ php-src/ext/intl/idn/idn.c Sun May 10 13:26:38 2009
@@ -15,7 +15,7 @@
| Author: Pierre A. Joye <pie...@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: idn.c,v 1.1.2.1 2009/01/26 22:30:57 pajoye Exp $ */
+/* $Id: idn.c,v 1.1.2.2 2009/05/10 13:26:38 bjori Exp $ */
/* {{{ includes */
#ifdef HAVE_CONFIG_H
@@ -121,7 +121,7 @@
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 @@
/* }}} */
-/* {{{ 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)
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php