title: Get value from object array C# -> PHP
body: <p>Morning!</p>
  
  <p>It's quite early in the morning, so I think the answer of my question will be obvious, but I just can't seem to figure it out.</p>
  
  <p>This is the situation:
  I have a C# application which communicaties via a WCF webservice with my PHP project.
  Now, a function in my C# application generates something like this:</p>
  
  <pre><code>stdClass Object ( [GetSpecsResult] =&gt; stdClass Object ( 
  [string] =&gt; Array (
   [0] =&gt; 
  [1] =&gt; Test 
  [2] =&gt; Test 
  [3] =&gt; 14-8-2013 10:08:53 
  [4] =&gt; 14-8-2013 10:08:52 
  [5] =&gt; 
  [6] =&gt; ) ) ) 
  </code></pre>
  
  <p>Basically, what I want is to get the values to print nicely in my PHP project.
  I could do a foreach within a foreach, this works also, but I'm pretty sure that's not the correct way.</p>
  
  <p>Can someone help me out?</p>