Re: cvs: php4 /ext/standard array.c basic_functions.c php_array.h
| From: | Andrei Zmievski | Date: | Mon, 22 Oct 2001 19:07:45 +0000 |
| Subject: | Re: cvs: php4 /ext/standard array.c basic_functions.c php_array.h | ||
| References: | 1 2 3 4 5 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-7935@lists.php.net to get a copy of this message | ||
On Mon, 22 Oct 2001, Andi Gutmans wrote:
> Before you do that you should probably do:
> if (PZVAL_IS_REF(*zval)) {
> SEPARATE_ZVAL(zval);
> }
>
> And then do all of the zval_add_ref().
Or SEPARATE_ZVAL_IF_NOT_REF() to make it easier.
-Andrei
* Power corrupts. Atomic power corrupts atomically. *