Validate the syntax of a credit card number using PHP

http://www.fakenamegenerator.com/credit-card-validator.php