PHP old paper solution

4th semester