Re: cvs: php4 /ext/standard array.c basic_functions.c php_array.h
| From: | Andi Gutmans | Date: | Mon, 22 Oct 2001 19:42:27 +0000 |
| Subject: | Re: cvs: php4 /ext/standard array.c basic_functions.c php_array.h | ||
| References: | 1 2 3 4 5 6 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-7938@lists.php.net to get a copy of this message | ||
At 02:07 PM 10/22/2001 -0500, Andrei Zmievski wrote:
On Mon, 22 Oct 2001, Andi Gutmans wrote: Before you do that you should probably do: if (PZVAL_IS_REF(*zval)) {Nope. That does exactly the opposite. AndiSEPARATE_ZVAL(zval);} And then do all of the zval_add_ref(). Or SEPARATE_ZVAL_IF_NOT_REF() to make it easier.