My own solution of The Bowling Game Kata in PHP.