title: Object of class stdClass could not be converted to string in...soap issue
body: <p>I've got this error while printing my result from wsdl..Object of class stdClass could not be converted to string in. </p>
  
  <pre><code>  $scramble = $client-&gt;getMobile($origtext); 
    print("$scramble");
  </code></pre>
  
  <p>so i use var dump and here is what i got</p>
  
  <pre><code>  var_dump($scramble);
  
    Arrayobject(stdClass)#2 (1) { ["phone-num"]=&gt; string(2) "VH" } 
  </code></pre>
  
  <p>yes! string "VH" is exactly what i need to print but the problem is..how?
  should i use something like</p>
  
  <pre><code>   $scramble = $client-&gt;getMobile($origtext)-&gt;Arrayobject("phone-num"); 
  </code></pre>
  
  <p>but it for sure output undefined function error...any one knows whats the method i should be using to print out he string?</p>
  
  <p>Thanks!</p>