Re: RE: using arrays instead of stdClass
| From: | Rasmus Lerdorf | Date: | Wed, 06 Jun 2007 16:35:02 +0000 |
| Subject: | Re: RE: using arrays instead of stdClass | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30117@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>> Well the problem is that I am trying to cache soap replies in APC.
>> This seems to be buggy but at the very least will require a
>> serialize/unserialize call, which again adds overhead.
>
> Wouldn't array require serializing too? Or APC is able to store arrays
> in unserialized form?
Yes, APC is able to memcpy arrays directly.
-Rasmus