1. <?php
  2. $arr = [1, 2, 3, 4, 5];
  3. var_dump(array_splice($arr, 3, 0, ['a', 'b', 'c']));