Re: retrieveing the zval pointer of an "object"
| From: | Andrei Zmievski | Date: | Fri, 27 Aug 2004 16:02:48 +0000 |
| Subject: | Re: retrieveing the zval pointer of an "object" | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12427@lists.php.net to get a copy of this message | ||
On Fri, 27 Aug 2004, Michael Wallner wrote:
> Hi,
>
> I have an hopefully simple question;
> imagine the following statement:
>
> obj = (struct obj_struct *) zend_object_store_get_object(zval TSRMLS_CC);
>
>
> Ok, now I'm in a situation where I'd need the other way
> round, i.e. a way to fetch the zval of the obj I've got
> (i.e. I have "obj" and need "zval").
>
> Any hints?
The main question is: why do you need to do it?
- Andrei