add problem 5 to php