summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2001-04-24 13:47:32 +0000
committerAndrei Zmievski <andrei@php.net>2001-04-24 13:47:32 +0000
commit5b9407dbd6bc2b74b728be88bd40946cb00cff3b (patch)
tree59a467c68ad54900cfe1ca0f8de9a19300e74c25
parentdf6bb0f4311b42a49065e8a16de360ec51d0fef2 (diff)
downloadphp-git-5b9407dbd6bc2b74b728be88bd40946cb00cff3b.tar.gz
MFH.
-rw-r--r--Zend/zend_builtin_functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index c7fc25d5ae..40d5a37ec2 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -869,9 +869,9 @@ static int copy_function_name(zend_function *func, int num_args, va_list args, z
}
if (func->type == ZEND_INTERNAL_FUNCTION) {
- add_next_index_stringl(internal_ar, hash_key->arKey, hash_key->nKeyLength, 1);
+ add_next_index_stringl(internal_ar, hash_key->arKey, hash_key->nKeyLength-1, 1);
} else if (func->type == ZEND_USER_FUNCTION) {
- add_next_index_stringl(user_ar, hash_key->arKey, hash_key->nKeyLength, 1);
+ add_next_index_stringl(user_ar, hash_key->arKey, hash_key->nKeyLength-1, 1);
}
return 0;