changs to php2