in-class php assignment