Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12415 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20333 invoked by uid 1010); 27 Aug 2004 09:36:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16336 invoked from network); 27 Aug 2004 09:35:43 -0000 Received: from unknown (HELO iko.gotobg.net) (80.168.8.116) by pb1.pair.com with SMTP; 27 Aug 2004 09:35:43 -0000 Received: from pd95e9795.dip.t-dialin.net ([217.94.151.149] helo=[192.168.0.36]) by iko.gotobg.net with asmtp (Exim 4.41) id 1C0d96-0003Ud-QI; Fri, 27 Aug 2004 12:35:45 +0300 Message-ID: <412F0049.6090303@hristov.com> Date: Fri, 27 Aug 2004 11:35:05 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a3) Gecko/20040817 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Wallner , internals@lists.php.net References: <20040827091620.44342.qmail@pb1.pair.com> In-Reply-To: <20040827091620.44342.qmail@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] retrieveing the zval pointer of an "object" From: php@hristov.com (Andrey Hristov) 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,