some Clojure ideas implemented in PHP