title: php array_splice() empty array
body: <p>I'm trying to add the value to the array at a given index, but so far without any luck. I've got the following:</p>
  
  <pre><code>$array = array('first', 'second', 'third');
  array_splice($array, 0, 0, array('another'));
  </code></pre>
  
  <p>which results in empty array.</p>
  
  <p>I've also tried different offsets such as 1 or 2 - with the same result.</p>
  
  <p>Could someone please explain what I'm doing wrong here?</p>