title: Multiple foreach without nesting
body: <p>This first block of code works as expected. It's a <code>foreach</code> to print values from an <code>$fnames</code> key-value array.</p>
  
  <pre><code>foreach($fnames as $fname){
     echo $fname;
  }
  </code></pre>
  
  <p><strong>The <code>$fnames</code> array has an <code>$lnames</code> array that correspond to it, and I'd like to print the lname with the fname at the same time, something like this: but it doesn't compile</strong></p>
  
  <pre><code>foreach($fnames as $fname &amp;&amp; $lnames as $lname){
     echo $fname . " " . $lname;
  }
  </code></pre>
  
  <p>I also tried this, but that too doesn't compile.</p>
  
  <pre><code>foreach($fnames,$lnames as $fname,$lname){
     echo $fname . " " . $lname;
  }
  </code></pre>
  
  <p>The only thing that compiled was this, but it didn't give correct results.</p>
  
  <pre><code>foreach($fnames as $fname){
     foreach($lnames as $lnames){
         echo $fname . " " . $lname;
     }
  }
  </code></pre>
  
  <p>How do I get this sort of pairing between the 2 arrays at the same index?</p>