summaryrefslogtreecommitdiff
path: root/ext/unicode/transform.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2006-06-15 17:37:48 +0000
committerAndrei Zmievski <andrei@php.net>2006-06-15 17:37:48 +0000
commit927c5f2eb71f611f8bad01282bae1169a2160681 (patch)
tree4fcdd02d143171be8b948e60d2fc63d7cbdc23e2 /ext/unicode/transform.c
parent284ad23f607ddbb0e1a5bd4124695aab7a37618b (diff)
downloadphp-git-927c5f2eb71f611f8bad01282bae1169a2160681.tar.gz
Rename to str_transliterate().
Diffstat (limited to 'ext/unicode/transform.c')
-rw-r--r--ext/unicode/transform.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/ext/unicode/transform.c b/ext/unicode/transform.c
index 6787eda60b..8f7e0f6879 100644
--- a/ext/unicode/transform.c
+++ b/ext/unicode/transform.c
@@ -18,7 +18,7 @@
#include "php_unicode.h"
-PHP_FUNCTION(transliterate)
+PHP_FUNCTION(str_transliterate)
{
UChar *str, *from, *to, *variant = NULL;
int str_len, from_len, to_len, variant_len = 0;
@@ -30,26 +30,6 @@ PHP_FUNCTION(transliterate)
UErrorCode status = U_ZERO_ERROR;
int32_t capacity, start, limit;
- /*
- {
-
- char *str;
- int32_t str_len;
- UEnumeration *ids;
-
- ids = utrans_openIDs(&status);
- printf("%d\n", uenum_count(ids, &status));
- str = (char*)uenum_next(ids, &str_len, &status);
- while (str) {
- printf("id: %s\n", str);
- str = (char*)uenum_next(ids, &str_len, &status);
- }
- uenum_close(ids);
- }
-
- return;
- */
-
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "uuu|u", &str,
&str_len, &from, &from_len, &to, &to_len,
&variant, &variant_len) == FAILURE) {