Re: [PECL-DEV] Re: shared memory extention
[email protected] (Stanislav Malyshev) Thu, 15 Apr 2010 14:29:25 -0700
| Newsgroups | php.pecl.dev |
|---|---|
| Organization | Zend Technologies |
| Message-ID | <[email protected]> |
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 [email protected] http://www.zend.com/ (408)253-8829 MSN: [email protected]