title: illegal string offset '@id' in test.php
body: <p>Not sure if data issue or program issue, sometimes below program 
  show error message : </p>
  
  <p>PHP Warning : "illegal string offset '@id' in test.php"
  PHP Warning : "illegal string offset 'Order' in test.php"...</p>
  
  <pre><code>....
  $ret1=curlDest($transaction_url);
  $retval = $ret1["Response"]["TransactionList"]["@TotalCount"];
  foreach ($ret1["Response"]["TransactionList"]["Transaction"] as $v)
    { 
       $transaction_id       = $v["@Id"];        
       $order_id             = array();
       $orderid_query_string = '';
       foreach ($v["Order"] as $order)
            {...
            }
  </code></pre>
  
  <p>the data of @ret1 is below</p>
  
  <pre><code>Array
  &lt;
      [@Id] =&gt; 120852760
      [Order] = &gt; Array
        &lt;
          [@Id] =&gt; YM152222
        &gt;
  &gt;
  </code></pre>