We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Thanks Petr. I chose not to use these functions as they modify the internal array pointers, and I'd like this lib to be as close to functional ideals as possible (avoid side affects). (I should have mentioned that in the article, perhaps).
Such a good thing that you have shared that kind of idea on how can someone be able to create their own technique in making their output in becoming more successful and better that would effectively give them the type of output that they wanted to have.
Congratulations for this article, very valuable! Thank you!
For "first" and "last" functions use "reset" and "end" standard PHP functions, no need to copy arrays