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
  • Downloads?

    Bear in mind that right this minute, the project is not complete yet. I'm actually hacking the php right here on sourceforge, so you can see what's happening as I do it.

    Lately the core functional stuff is mostly here although I'm interested in hearing about your ideas.

    The object-oriented extensions are limited. See below for some notes on that topic. Integrating objects and functionalism is a touchy subject and it requires care.

    Browse Source Code So Far
    Download Source Code So Far
    Current Test Cases
    Source for Current Test Cases
    Download old (v1) Source Code
    Due to a bug in some (all?) versions of Internet Explorer, the downloads result in blank pages with a browser error. Apparently IE thinks that it's a PDF file, but Acrobat thinks otherwise. You can work around the problem by right-clicking on the link and selecting "Save Target As...".

    The source to the test cases happens to be a good way to understand what these functions do exactly.