Method: a::inject

Injects an element into an array

Info

Syntax

a::inject($array, $position, $element='placeholder')

Parameters

Return (array)

The result array including the new element