Exercises for Ullman PHP book