]> granicus.if.org Git - php/commitdiff
preliminary fix for each until andi & zeev clean up!
authorThies C. Arntzen <thies@php.net>
Wed, 22 Sep 1999 09:57:42 +0000 (09:57 +0000)
committerThies C. Arntzen <thies@php.net>
Wed, 22 Sep 1999 09:57:42 +0000 (09:57 +0000)
Zend/zend_builtin_functions.c

index 469e3eea7132fde57e7713a79c387ad487944908..342cf6913b8186b24b537e2210d5876c1d3cb892 100644 (file)
@@ -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)