I’m calling a WCF service in PHP which returns me this thing: (The service I’m calling returns a C# struct)
object(stdClass)#70 (1) {
["SiteInterop_CreateContactAndOpportunityResult"]=>
object(stdClass)#149 (5) {
["result"]=>
bool(true)
["strAccountExec"]=>
NULL
["strAccountId"]=>
string(36) "bd346671-88ca-4966-971a-9dd499c7a689"
["strContactId"]=>
string(36) "06a8808d-ed66-42f9-a821-00358213bb94"
["strOpportunityId"]=>
string(36) "d4845fd0-18fb-4a40-8424-904866cb471e"
}
}
Question is, how do I access the values? Those values are the true boolean and three guids.
To get the
resultTo get the
guids