Pluggable compiler architecture in Php