summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 4d5c72404f..bb482ba7a1 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -2966,15 +2966,6 @@ static zend_string *php_strtr_ex(zend_string *str, char *str_from, char *str_to,
}
/* }}} */
-static int php_strtr_key_compare(const void *a, const void *b) /* {{{ */
-{
- Bucket *f = (Bucket *) a;
- Bucket *s = (Bucket *) b;
-
- return f->h > s->h ? -1 : 1;
-}
-/* }}} */
-
/* {{{ php_strtr_array */
static void php_strtr_array(zval *return_value, zend_string *input, HashTable *pats)
{