Lightweight web template engine based on pure PHP