Re: cvs: php-src /ext/standard string.c
| From: | Moriyoshi Koizumi | Date: | Fri, 26 Sep 2003 19:01:50 +0000 |
| Subject: | Re: cvs: php-src /ext/standard string.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-23923@lists.php.net to get a copy of this message | ||
"Sara Golemon" <pollita@php.net> wrote:
> - result = *subject_entry;
> + MAKE_STD_ZVAL(result);
> + SEPARATE_ZVAL(subject_entry);
> + *result = **subject_entry;
> + zval_copy_ctor(result);
Couldn't this be more simpler with a single SEPARATE_ZVAL()? like
result = *subject_entry;
SEPARATE_ZVAL(result);
Moriyoshi