This page is deprecated!

Click here instead

The old page is below.


Functional PHP Extensions SourceForge Logo


A set of higher-order functions and other primatives written in PHP4 which let you write php code in a functional style, similar to the way you might in Haskell, Scheme, or ML. There are also stubby object-to-functional bindings.
  • What
  • Why
  • Documentation
  • Downloads
  • FAQ
  • Why this module?

    The latest versions of PHP are starting to get some of the features typically found in a functional language. However:
    • Real people don't always have access to the latest builds
    • The latest build may be buggy
    • PHP's recent functionalist calls are rather verbose. One of my colleagues calls them painfully so.
    • COMBINATORS and other METAFUNCTIONS

    Therefore, this module attempts to provide some FP primatives that php either lacks or does uncomfortably.