Re: cvs: php4 /ext/session session.c
| From: | Sascha Schumann | Date: | Sun, 19 Nov 2000 17:21:43 +0000 |
| Subject: | Re: cvs: php4 /ext/session session.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-2684@lists.php.net to get a copy of this message | ||
> + /* replace variable contents while saving is_ref and reference
> + count */
> + is_ref = (*old_symbol)->is_ref;
> + refcount = (*old_symbol)->refcount;
> + **old_symbol = *state_val_copy;
> + (*old_symbol)->is_ref = is_ref;
> + (*old_symbol)->refcount = refcount;
I think this kind of logic should be in Zend, and not in the
extension code. While the task of changing an existing symbol
might be complex, it should be simple for an extension to
perform that step.
- Sascha