functional

Functional primitives for PHP


A number of functional primitives like map(), select(), each() for the PHP language

License: BSD License

Latest releases

Version Release Download
0.6.0 2011-12-17 functional-0.6.0.tgz
0.0.5 2011-12-04 functional-0.0.5.tgz
0.0.1 2011-06-11 functional-0.0.1.tgz
Show all releases

Changelog

Version Message
0.6.0 - Adding average()
- Changing behavior of sum()/product()/difference()/ratio() to ignore booleans
- Fixed critical bug in Functional\pluck() that made the current scope unavailable to the caller
0.0.5 - Renamed all() to every() and any() to some()
- Added drop_first() and drop_last()
- Fixed property access with pluck()
- pluck() now works with associative arrays
- Added partition()
- Added group()
- Added flatten()
- Added first() and last()
- Added product(), sum(), ratio(), difference()
- Added unique()
- Fixed a lot of memory leaks
0.0.1 - Initial release
Show complete changelog