Functional Programming Break Continue Php Insurance