php lecture homework