Re: Zend bug? Overloading API in PHP4
| From: | Rasmus Lerdorf | Date: | Fri, 15 Aug 2003 23:25:40 +0000 |
| Subject: | Re: Zend bug? Overloading API in PHP4 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4015@lists.php.net to get a copy of this message | ||
On Sat, 16 Aug 2003, Zeev Suraski wrote:
> zval *tmp;
>
> ALLOC_ZVAL(tmp);
> *tmp = *value;
> zval_copy_ctor(tmp);
> INIT_PZVAL(tmp);
Aha, that makes my little ovl example work. Which means I must be messing
up my zval in my much more complex example myself.
Thanks.
-Rasmus