A simple parser combinator written in PHP