Pushing elements in multidimensional arrays
#1

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.
Reply
#2

Could you further explain the linked list method?
I've read about it, but I'm not quite sure what it would look like in a practical example.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)