Re: is this a bug in SoapServer?
| From: | Lukas Kahwe Smith | Date: | Wed, 11 Apr 2007 14:00:29 +0000 |
| Subject: | Re: is this a bug in SoapServer? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28731@lists.php.net to get a copy of this message | ||
Ron Korving wrote:
Hi, returning array('5' => 'Foo', '10' => 'Bar') from a SoapServer handler class ends up as array(0 => 'Foo', 1 => 'Bar') at the client end. I can hardly imagine this being a feature, but maybe someone can tell me if this is somehow wanted or inevitable behavior.I assume its because there is no such thing as an associative array, so the thing ends up being a simple ordered sequence. regards, Lukas