[dev] [cvs] commit: whups/lib Driver.php

Jan Schneider jan at horde.org
Wed Nov 28 09:23:54 UTC 2007


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> To sum up follow-up discussion on IRC for the records: the xmlrpc
>> extension is automatically converting associative arrays to arrays
>> instead of structs, if all keys are numeric. Even casting the keys to
>> strings doesn't help.
>
> Nice. Do you know if this is client or server-side?

It's the library code, so theoretically in both directions.

> What about using an object as a struct (stdClass), or is that treated
> differently in xml-rpc?

That doesn't work either because an object can't have properties that  
consist of digits only. Well, you can, but not by casting the api  
result sets to objects.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list