Skip to content

iter 2.0

Compare
Choose a tag to compare
@nikic nikic released this 30 May 18:29
· 19 commits to master since this release

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 to iter\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)