Function array_insert
Inserts a value in a array before, or after, a given key.
Numeric keys are not preserved.
Parameters summary
mixed |
$array |
|
mixed |
$relative |
|
mixed |
$value |
|
mixed |
$key = null |
|
mixed |
$after = false |
Return value summary
array
|