mirror of
https://github.com/php/php-src.git
synced 2026-04-07 16:13:32 +02:00
- Remove the is_ref =1 from the push() function.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user