Re: RE: using arrays instead of stdClass
| From: | Lukas Kahwe Smith | Date: | Wed, 06 Jun 2007 08:36:47 +0000 |
| Subject: | Re: RE: using arrays instead of stdClass | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30110@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
I wrote up a blog post with all the options I see with some microbenchmarks: http://pooteeweet.org/blog/721 I would appreciate feedback, since I am unsure of the results. regards, LukasWell 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? Anyway you could use get_object_vars() I guess.