Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c
| From: | Andi Gutmans | Date: | Fri, 14 Nov 2003 08:38:07 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_operators.c | ||
| References: | 1 2 3 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-1988@lists.php.net to get a copy of this message | ||
At 12:51 AM 11/14/2003 +0100, Marcus Boerger wrote:
Hello Andi, Thursday, November 13, 2003, 11:06:03 PM, you wrote: It would probably best to make tmp a zval *, MAKE_STD_ZVAL() it and then pass it to the method. We would then zval_ptr_dtor() op and set it to tmp. What do you think? I think you are correct :-)Another possibility I just thought of was to pass op and to pass &tmp where tmp is a zval *, and the inside the cast overloading function you could choose if to make a new zval or do connect it to some existing value. Let's come to a decision and fix this. Andi