title: PHP - Data Strucure to hold Matrix of Strings and Numeric Values
body: <p>I have following data structure needs to be hold in the memory for dynamic calculations on the fly, how do i create matrix data structure that hold this values in PHP ? (i presume i have to use multi-denominational array however i am unsure of how to use them in practical examples like this one below)</p>
  
  <p><a href="https://i.stack.imgur.com/HGQDK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HGQDK.png" alt="enter image description here"></a></p>
  
  <p>Any ideas on that ?Basically i am looking for Build in Matrix class like in the below link, in that case its a Binary Tree.</p>
  
  <p><a href="http://www.sitepoint.com/data-structures-2/" rel="nofollow noreferrer">http://www.sitepoint.com/data-structures-2/</a></p>