The bowling kata in PHP