PHPackages                             rikudou/iterables - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. rikudou/iterables

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rikudou/iterables
=================

Provides some cool iterable functions complementing the built-in array functions

v1.4.0(1y ago)03.7k↑650%1MITPHPPHP ^8.3

Since Jul 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/RikudouSage/Iterables)[ Packagist](https://packagist.org/packages/rikudou/iterables)[ RSS](/packages/rikudou-iterables/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (8)Used By (1)

A simple set of functions that reimplement PHP's built-in array functions but optimize memory usage by using Generators. These functions also accept any iterable, not just arrays, making them more flexible when working with large datasets or data streams.

So, these two are equivalent:

```
