API call is returning a string, when it should be returning an array. Look:
object(stdClass)#2 (1) {
 ["MethodAPISelect_XMLV2Result"]=>
 string(377) "
 
ACME, INC
 1060
 
 
OTHER, INC
 1742
 
"
}
Here's the code:
$soap = new SoapClient("https://www.methodintegration.com/MethodAPI/service.asmx?WSDL");
$result = $soap->MethodAPISelect_XMLV2(array(
"strCompanyAccount" => "foobar",
 "strLogin" => "foobar",
 "strPassword" => "foobar",
 "strSessionID" => "",
 "strTable" => "Customer",
 "strFields" => "CompanyName,RecordID",
 "strWhereClause" => "Email = 'email@address.com'"
 
));
echo "<code><pre>";
var_dump($result);
echo "</pre></code>";
Why am I not getting an array? I cannot work with a string like this.