title: PHP, "Foreach" using 3 arrays
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7748115/foreach-with-three-variables-add">foreach with three variables add</a>  </p>
  </blockquote>
  
  
  
  <p>If I have 3 arrays of the same size, is it possible to use the costruct foreach() to cycle in the same time the 3 arrays?</p>
  
  <p>ex.</p>
  
  <pre><code>$name contains names
  
  $surname contains surnames
  
  $address contains addresses.
  </code></pre>
  
  <p>Can foreach take elements [1], [2], [.....] in the same time, to print</p>
  
  <pre><code>$name[1], $surname[1], $address[1];
  
  $name[2], $surname[2], $address[2];
  </code></pre>
  
  <p>and so on?</p>