What is the best practice for accessing values returned by a SOAP call in PHP?

When accessing values returned by a SOAP call in PHP, it is best practice to use the `->` operator to access the properties of the returned object. This allows you to easily navigate through the response and extract the necessary data.

// Make the SOAP call
$client = new SoapClient("http://example.com/soap.wsdl");
$response = $client->someFunction();

// Access the values returned by the SOAP call
$value1 = $response->property1;
$value2 = $response->property2;

// Use the extracted values as needed
echo $value1;
echo $value2;