<?php array_splice( array &$array, int $offset, ?int $length = null, mixed $replacement = []): array
<?php $injectIndex = array_search($before, $bootstrappers, true); if ($injectIndex !== false) { array_splice($bootstrappers, $injectIndex, 0, [$inject]); } return $bootstrappers;