iter 2.0
This release makes iter compatible with PHP 7.4 by renaming the iter\fn
namespace to iter\func
.
- PHP >= 7.1 is now required. Functions are annotated with
iterable
types. (#52) - The
iter\fn
namespace has been renamed toiter\func
. This is necessary for PHP 7.4 compatibility. (#79) - Default
$preserveKeys = false
in chunk() and add chunkWithKeys() function. - Avoid advancing by one additional iteration in slice(). (#75)