--TEST-- Bug #73237 "Any" data missing when result includes a struct --EXTENSIONS-- soap --INI-- soap.wsdl_cache_enabled=0 --FILE-- trueCampaignMember00vi0000011VMgeAAG00vi0000011VMgeAAG701i0000001lreeAAASent00Qi000001UrbYFEAZLeadangela.lansbury@cbs.com1 EOF; } } $client = new LocalSoapClient(__DIR__."/bug73237.wsdl"); var_dump($client->query("")); ?> --EXPECTF-- object(stdClass)#%d (%d) { ["result"]=> object(stdClass)#%d (%d) { ["done"]=> string(4) "true" ["queryLocator"]=> NULL ["records"]=> object(SoapVar)#%d (%d) { ["enc_type"]=> int(0) ["enc_value"]=> object(stdClass)#%d (%d) { ["type"]=> string(14) "CampaignMember" ["Id"]=> array(2) { [0]=> string(18) "00vi0000011VMgeAAG" [1]=> string(18) "00vi0000011VMgeAAG" } ["any"]=> array(2) { [0]=> string(175) "701i0000001lreeAAASent00Qi000001UrbYFEAZ" ["Lead"]=> object(stdClass)#%d (%d) { ["type"]=> string(4) "Lead" ["Id"]=> NULL ["any"]=> string(44) "angela.lansbury@cbs.com" } } } ["enc_stype"]=> string(13) "genericObject" ["enc_ns"]=> string(27) "urn:object.test.example.org" ["enc_name"]=> NULL ["enc_namens"]=> NULL } ["size"]=> string(1) "1" } }