Re: RE: using arrays instead of stdClass
| From: | Lukas Kahwe Smith | Date: | Tue, 05 Jun 2007 12:47:14 +0000 |
| Subject: | Re: RE: using arrays instead of stdClass | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30067@lists.php.net to get a copy of this message | ||
Dmitry Stogov wrote:
I don't like to increase complexity of ext/soap with additional options. It is already complex enough and simple object <-> array conversion doesn't provide additional abilities.Well we have way more functions to "play" with arrays than we have with objects. Considering that we can have arbitrarily complex structures returned from a soap request, its also not a trivial cast. Even if its just a cast, its will cost performance.
I don't understand how ext/soap related to APC.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. So obviously its not directly related, though I am sure that a lot of people will try to cache their soap replies in some way or another. regards, Lukas