Provides functions for iterable variables: iterable_map(, iterable_filter(), iterable_to_array(), ...
MIT License
Full Changelog: https://github.com/bpolaszek/php-iterable-functions/compare/2.2...2.3
Published by bpolaszek 7 months ago
Full Changelog: https://github.com/bpolaszek/php-iterable-functions/compare/2.1.3...2.2
Published by bpolaszek 7 months ago
Full Changelog: https://github.com/bpolaszek/php-iterable-functions/compare/2.1.2...2.1.3
Published by bpolaszek about 1 year ago
Full Changelog: https://github.com/bpolaszek/php-iterable-functions/compare/2.1.1...2.1.2
Published by bpolaszek over 1 year ago
iterable_to_array()
by @simPod in https://github.com/bpolaszek/php-iterable-functions/pull/46
Full Changelog: https://github.com/bpolaszek/php-iterable-functions/compare/2.1...2.1.1
Published by bpolaszek about 2 years ago
Full Changelog: https://github.com/bpolaszek/php-iterable-functions/compare/2.0.1...2.1
Published by bpolaszek over 2 years ago
Full Changelog: https://github.com/bpolaszek/php-iterable-functions/compare/2.0...2.0.1
Published by bpolaszek over 3 years ago
Say hello to this new version! 👋
is_iterable
function, as it's now PHP7+ nativewithMap()
and withFilter()
methods of fluent interface in favor of map()
and filter()
- #9 (BC break)iterable_values()
function - #33A huge thanks to @simPod for his contributions! 🙏
Published by bpolaszek over 4 years ago
iterable_reduce()
function. Thanks @simPodPublished by bpolaszek over 5 years ago
Minor changes: improved PHPDoc for better auto-completion support - @mwijngaard
Published by bpolaszek over 5 years ago
@simPod brought iterable_to_array
closer to the native iterator_to_array
function, by adding an optional $use_keys
argument.
New function signature:
iterable_to_array ( iterable $iterable [, bool $use_keys = TRUE ] ) : array
Published by bpolaszek over 6 years ago
Published by bpolaszek over 7 years ago