But array('a' => 'Foo', 'b' => 'Bar') does end up correctly. It only fails 
with numeric keys. I'm using PHP 5.2.1 by the way.

Thanks,

Ron


"Lukas Kahwe Smith" <[EMAIL PROTECTED]> schreef in bericht 
news:[EMAIL PROTECTED]
> 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 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to