Re: retrieveing the zval pointer of an "object"
| From: | Andrey Hristov | Date: | Fri, 27 Aug 2004 09:35:05 +0000 |
| Subject: | Re: retrieveing the zval pointer of an "object" | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12415@lists.php.net to get a copy of this message | ||
isn't the situation that several zvals can reference one object?
Andrey
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? Thanks,