title: how to traverse an array's contents when using each() in php, without looping
body: <pre><code>$foo1 = array("bob", "fred", "jussi", "jouni", "egon", "marliese");
  
  $bar1 = each($foo1);
  print '&lt;pre&gt;';
  print_r($bar1);
  print '&lt;/pre&gt;';
  </code></pre>
  
  <p>The above code gives the following output:</p>
  
  <pre><code>Array
  (
      [1] =&gt; bob
      [value] =&gt; bob
      [0] =&gt; 0
      [key] =&gt; 0
  )
  </code></pre>
  
  <p>how to print other arrays that $bar1 contains? Like array for fred (in $foo1)? <br/><br/>
  * I know that it can be done using while, list and each<br/>
  * I also know that foreach makes this task lot easier<br/><br/></p>
  
  <p>I want to know if there is any handle that i can catch hold of and get something like the following output:</p>
  
  <pre><code>Array
  (
      [1] =&gt; fred
      [value] =&gt; fred
      [0] =&gt; 0
      [key] =&gt; 0
  )
  </code></pre>