I have this in response from a webservice
stdClass Object (
[$type] => Model.Result[[System.Int32, mscorlib]], Model
[success] => 1
[errorMessage] =>
[result] => 1
[statusCode] => 200
)
and i have tried $response->{"$type"}['success']
and $response->{"$type"}->success
and failed - i can loop through the object and get the value, but it should be possible to get i directly.