]> granicus.if.org Git - php/commitdiff
silly bug
authorAndrey Hristov <andrey@php.net>
Thu, 12 Jun 2003 15:11:11 +0000 (15:11 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 12 Jun 2003 15:11:11 +0000 (15:11 +0000)
ext/standard/array.c

index 6dc57b1f74f1638c1bd7cd51dae08770852cd583..b6ec420ccb7493f812c9db53145c5c2cc72e6a28 100644 (file)
@@ -3775,8 +3775,8 @@ PHP_FUNCTION(array_combine)
                        zval_add_ref(entry_values);
                        add_index_zval(return_value, Z_LVAL_PP(entry_keys), *entry_values);
                }
-               zend_hash_move_forward_ex(Z_ARRVAL_PP(entry_keys), &pos_keys);
-               zend_hash_move_forward_ex(Z_ARRVAL_PP(entry_values), &pos_values);
+               zend_hash_move_forward_ex(Z_ARRVAL_P(keys), &pos_keys);
+               zend_hash_move_forward_ex(Z_ARRVAL_P(values), &pos_values);
        }
 }
 /* }}} */