summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>1999-09-22 09:57:42 +0000
committerThies C. Arntzen <thies@php.net>1999-09-22 09:57:42 +0000
commit49c891f2cf3200fd83177b697b535f5ebc044f04 (patch)
treebf322a1aef844ee7b637ee1d531ac8e3ebd84f88
parent8c6da509f283194be745efea719af69521eca062 (diff)
downloadphp-git-49c891f2cf3200fd83177b697b535f5ebc044f04.tar.gz
preliminary fix for each until andi & zeev clean up!
-rw-r--r--Zend/zend_builtin_functions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 469e3eea71..342cf6913b 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -41,6 +41,8 @@ static ZEND_FUNCTION(get_parent_class);
static ZEND_FUNCTION(method_exists);
static ZEND_FUNCTION(leak);
+extern unsigned char first_arg_force_ref[];
+
static zend_function_entry builtin_functions[] = {
ZEND_FE(zend_version, NULL)
ZEND_FE(func_num_args, NULL)
@@ -49,7 +51,7 @@ static zend_function_entry builtin_functions[] = {
ZEND_FE(strlen, NULL)
ZEND_FE(strcmp, NULL)
ZEND_FE(strcasecmp, NULL)
- ZEND_FE(each, NULL)
+ ZEND_FE(each, first_arg_force_ref)
ZEND_FE(error_reporting, NULL)
ZEND_FE(define, NULL)
ZEND_FE(defined, NULL)