Hi,
Hopefully I am not overlooking something here, but I never really
appreciated the fact that all my complex types are returned as stdClass
instances by default. Of course you can override this with custom
classes via the classmap, but I would much prefer simple boring arrays.
This has now become particularly relevant to me as APC seems to be less
optimized for handling objects and specifically seems to be buggy
handling stdClass [1].
@Dmitry: Could we add yet another option to the soap server class to be
able to force array's instead of stdClass?
regards,
Lukas
Hi Lukas,
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.
I don't understand how ext/soap related to APC.
Thanks. Dmitry.
-----Original Message-----
From: Lukas Kahwe Smith [mailto:mls@pooteeweet.org]
Sent: Tuesday, June 05, 2007 1:32 PM
To: PHP Developers Mailing List; Dmitry Stogov
Subject: using arrays instead of stdClassHi,
Hopefully I am not overlooking something here, but I never really
appreciated the fact that all my complex types are returned
as stdClass
instances by default. Of course you can override this with custom
classes via the classmap, but I would much prefer simple
boring arrays.This has now become particularly relevant to me as APC seems
to be less
optimized for handling objects and specifically seems to be buggy
handling stdClass [1].@Dmitry: Could we add yet another option to the soap server
class to be
able to force array's instead of stdClass?regards,
Lukas