24.12.2011, 12:46
Hi,
I'm looking for a method to prepend elements to the beginning of a multidimensional array, equivalent to PHP's array_unshift().
Does anyone have made a function for this already, or perhaps some tips on how this could be done efficiently?
Thanks in advance.
I'm looking for a method to prepend elements to the beginning of a multidimensional array, equivalent to PHP's array_unshift().
Does anyone have made a function for this already, or perhaps some tips on how this could be done efficiently?
Thanks in advance.