Skip to content

Instantly share code, notes, and snippets.

View lazymanc's full-sized avatar

Phil Moorhouse lazymanc

View GitHub Profile
@lazymanc
lazymanc / sfValidatorCreditcardNumber.class.php
Created June 7, 2011 15:26 — forked from anonymous/gist:181049
Credit card validator for Symfony 1.4
<?php
/*
Credit Card Validator
Date - Sep 04, 2009
Author - Brent Shaffer
Fixed bug with some of the regular expressions not matching
(switch, jcb, enroute).