Implementation of the Luhn-algoritm in PHP