]> granicus.if.org Git - php/commitdiff
- Remove the is_ref =1 from the push() function.
authorAndi Gutmans <andi@php.net>
Sun, 6 Jun 1999 15:00:49 +0000 (15:00 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 6 Jun 1999 15:00:49 +0000 (15:00 +0000)
ext/standard/basic_functions.c

index 8a5047327df55ddb5daaad2fc3a672f04dea4223..0fb1571edb942d6a5dd62cb872e65d544e3cb3b0 100644 (file)
@@ -2553,7 +2553,6 @@ PHP_FUNCTION(push)
           and add it to the end of the array */
        for (i=1; i<argc; i++) {
                new_var = args[i];
-               new_var->is_ref = 1;
                new_var->refcount++;
        
                zend_hash_next_index_insert(stack->value.ht, &new_var, sizeof(zval *), NULL);