summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-10-22 02:28:00 +0000
committerfoobar <sniper@php.net>2001-10-22 02:28:00 +0000
commit4fdf886f5cf085b00fa17ab6aa0dc0a4ecc1abba (patch)
tree00a33dfd41fdc62a4e8d44f22e77960845476758
parent626c663b2663ab5ae5bc65a0716e7a1898b8a8dd (diff)
downloadphp-git-4fdf886f5cf085b00fa17ab6aa0dc0a4ecc1abba.tar.gz
Fixed bug: #12443
-rw-r--r--ext/iconv/iconv.c4
-rw-r--r--ext/iconv/php_iconv.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c
index 95608f27b5..3b41d0acdf 100644
--- a/ext/iconv/iconv.c
+++ b/ext/iconv/iconv.c
@@ -51,7 +51,7 @@
/* {{{ iconv_functions[]
*/
function_entry iconv_functions[] = {
- PHP_FE(iconv, NULL)
+ PHP_NAMED_FE(iconv,php_if_iconv, NULL)
PHP_FE(ob_iconv_handler, NULL)
PHP_FE(iconv_get_encoding, NULL)
PHP_FE(iconv_set_encoding, NULL)
@@ -163,7 +163,7 @@ int php_iconv_string(char *in_p, char **out, char *in_charset, char *out_charset
/* {{{ proto string iconv(string in_charset, string out_charset, string str)
Returns str converted to the out_charset character set */
-PHP_FUNCTION(iconv)
+PHP_NAMED_FUNCTION(php_if_iconv)
{
zval **in_charset, **out_charset, **in_buffer;
char *out_buffer;
diff --git a/ext/iconv/php_iconv.h b/ext/iconv/php_iconv.h
index f60097951b..74fead6ebb 100644
--- a/ext/iconv/php_iconv.h
+++ b/ext/iconv/php_iconv.h
@@ -33,7 +33,7 @@ PHP_MINIT_FUNCTION(miconv);
PHP_MSHUTDOWN_FUNCTION(miconv);
PHP_MINFO_FUNCTION(miconv);
-PHP_FUNCTION(iconv);
+PHP_NAMED_FUNCTION(php_if_iconv);
PHP_FUNCTION(ob_iconv_handler);
PHP_FUNCTION(iconv_get_encoding);
PHP_FUNCTION(iconv_set_encoding);