Re: Re: shared memory extention
| From: | Stanislav Malyshev | Date: | Thu, 15 Apr 2010 21:29:25 +0000 |
| Subject: | Re: Re: shared memory extention | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7161@lists.php.net to get a copy of this message | ||
Hi!
Or even better yet, is there a way to compare two zval's and see if they are pointing to the the same data?Two different zvals shouldn't be pointing to the same data unless they're objects, in which case they'd have same handler table and object ID values. You may want to look at serialization code in ext/standard/var.c for an example of how you deal with references when serializing. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com