Fork me on GitHub

PHP: Unset an array's first element and return the result

Use array_slice(): array_slice($myArray, 1, null, true).

PHP, the easiest language to learn!

Tags: php