updated php exercise

from class 3