title: How to get value by key from multidimensional array from an object attribute as number in PHP
body: <p>How to get value by key from the multidimensional array in PHP   </p>
  
  <p>We Get TradeID in foreach loop</p>
  
  <p>We get TradeID by Loop one by one</p>
  
  <pre><code>stdClass Object
      (
          [0] =&gt; 
          [1] =&gt; 1
          [2] =&gt; Array
              (
                  [0] =&gt; Array
                      (
                          [TradeID] =&gt; 15950315
                          [Price] =&gt; 0.00000170
                          [Type] =&gt; buy
                          [Amount] =&gt; 712.85989430
                          [Total] =&gt; 0.00121368
                          [Time] =&gt; 1535337908
                      )
  
                  [1] =&gt; Array
                      (
                          [TradeID] =&gt; 15908375
                          [Price] =&gt; 0.00000300
                          [Type] =&gt; buy
                          [Amount] =&gt; 574.71264368
                          [Total] =&gt; 0.00172673
                          [Time] =&gt; 1535022882
                      )
              )
      )
  </code></pre>