Docs

evf_array_splice_preserve_keys( array $input, int $offset, int $length = null, array $replacement = array() ): array

An array_splice which does preverse the keys of the replacement array

Description

The argument list is identical to array_splice

Parameters

$inputarrayrequired
The input array.
$offsetintrequired
The offeset to start.
$lengthintoptional
Optional length.

Default:null

$replacementarrayoptional
The replacement array.

Default:array()

Return

array the array consisting of the extracted elements.

Changelog

VersionDescription
1.6.5Introduced.