can't print from nested foreach loop in php
<p>There's four arrays and four foreach loops. Two foreach within other two foreach loops, and i want to echo an array value from nested foreach loop. But i don't know why this prints nothing in my browser.</p>

<pre><code>  $abc = array('arif'=&gt;50, 'mofiz'=&gt; 60, 'tofiz'=&gt; 90);
  $def = array('arif'=&gt;55, 'mofiz'=&gt; 65, 'tofiz'=&gt; 95);
  $ghi = array('arif'=&gt;58, 'mofiz'=&gt; 68, 'tofiz'=&gt; 98);
  $jkl = array('arif'=&gt;59, 'mofiz'=&gt; 69, 'tofiz'=&gt; 99);

  foreach ($abc as $ab):

      foreach ($def as $de):


          foreach ($ghi as $gh):
              /*** this echo prints nothing ***/
              echo $gh['arif'];
          endforeach;

          foreach ($jkl as $jk):
          endforeach;

      endforeach;

  endforeach;
</code></pre>