PHP engine for Diversity templates