prototyping compiler in PHP