adding php5 code