Hi
Have this huge array (up to 4MB) which I might have to extend by prepending elements to it at its' start.
array_unshift might have done the trick but resets my numerical keys, so I can't use it.
Is there some other way to do this without eating additional MBs of memory... E.g array_pop mixed with array_reverse???
Any suggestions?
regards tores
Need low-memory consuming operation similar to array_unshift
Moderator: General Moderators
Think I will just use
Code: Select all
$a1 = $a2 + $a1Give it a try: http://us2.php.net/manual/en/function.a ... .php#23882