title: push to specific position of array
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1763959/insert-into-array-at-a-specified-place">Insert into array at a specified place</a>  </p>
  </blockquote>
  
  
  
  <p>How to push 1 or more values to middle (or a specific position/index) of an array?
  for example:</p>
  
  <pre><code>$a = array('a', 'b', 'e', 'f');
  array_pushTo($a, 1, 'c', 'd'); // that function i'm looking for. first parameter is the array, second is the index, and third and other are the values.
  // $a now is: array('a', 'b', 'c', 'd', 'e', 'f');
  </code></pre>