Validate_FI::creditCard()

Validate_FI::creditCard() -- Validate credit card number

Synopsis

Описание

Validate credit card number.

This method checks the credit card number according to Luhn algorithm. This method doesn't guarantee that the card is legitimate.

Параметр

string $number

credit card number to be validated (spaces and dashes tolerated)

Возвращаемое значение

boolean - true if credit card number is valid, false otherwise

Пример

    Поддержать сайт на родительском проекте КГБ