Php array of arrays get right result : <p>I wanna to iterate trought array of arrays.
What i have:</p>

<pre><code>$params =  [
 'regs' =&gt; [156, 154, 138, 132, 142, 144],
 'axis' =&gt; [0, 0, 0, 0, 0, 0],
 'visible' =&gt; [1, 1, 0, 1, 0, 0],
 'dependencies' =&gt; [1, 1, 1, 1, 1, 1],
];
</code></pre>

<p>What i want to get: </p>

<pre><code>foreach() {
 foreach() {
  render_element(reg = 156, axis = 0, visible = 1, dep = 1);
  *render_element(reg = 154, axis = 0, visible = 1, dep = 1);
  *render_element(reg = 138, axis = 0, visible = 0, dep = 1); etc
 }
}
</code></pre>
