Source Code:
(back to article)
<?php $letters = ['D', 'E', 'F']; $replacement = ['B', 'C']; array_splice($letters, 0, 0, $replacement); print_r($letters); ?>
Result:
Report an issue