How do you truncate a PHP array in a most effective way?
Should I use array_splice?
Yes, unless you want to loop over the array and unset() the unwanted elements.