in reply to Re: Type of arg 1 to shift must be array (not sort)
in thread Type of arg 1 to shift must be array (not sort)
But be careful using splice on any part of a LIST that you're iterating over with foreach.
If any part of LIST is an array, foreach will get very confused if you add or remove elements within the loop body, for example with splice. So don't do that.
|
|---|