Re: cvs: php4 /ext/standard var.c

From: Date: Sat, 17 Jun 2000 17:28:25 +0000
Subject: Re: cvs: php4 /ext/standard var.c
References: 1 2 3  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-343@lists.php.net to get a copy of this message
At 10:51 AM 6/17/00 -0500, Andrei Zmievski wrote:
On Sat, 17 Jun 2000, Andi Gutmans wrote: Please change it to zval_ptr_dtor() in all places where you touch zval's returned from user functions. You are not always supposed to destroy it. zval_ptr_dtor() will take care of that. Done. Thanks for the tip. We always have to call zval_ptr_dtor() on return values, right?
Yep when using call_user_function() unless you are actually keeping the return_value around. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.cvs (#343) next »