title: how to make array 4D with PHP
body: <p>I have so many data when execute distinct query, 
  example on this image 
  <a href="http://www.admedika2u.com/data-1.jpg" rel="nofollow noreferrer">a busy cat http://www.admedika2u.com/data-1.jpg</a></p>
  
  <p>I want group final status, that have nodeid, portid and total which mean total status.</p>
  
  <p>make an array like this</p>
  
  <pre><code>[
    [a =&gt; b] =&gt; c
  ] =&gt; d
  </code></pre>
  
  <p>any ideas...?</p>