Closed lafka closed 12 years ago
array_shift(); changes the original array and triggers E_NOTICE warning. The array's internal pointer is already on the first position so current(); can be used instead.
current();
Awesome, thanks!
I see you did the right thing with the pull request on this one :)
array_shift(); changes the original array and triggers E_NOTICE warning. The array's internal pointer is already on the first position so
current();
can be used instead.