template for php exercise