Added the PHP solution to Problem 5.