[eluser]jmadsen[/eluser]
[quote author="Aken" date="1329724719"]
I can tell you that you don't need to assign a variable when returning the matching card names. That variable loses scope anyway, so it's useless.
[/quote]
yes, I think we all know that. It makes things a little clearer to read & easier to make adjustments later
[quote author="Aken" date="1329724719"]
There are other changes I would make, but they're either personal preference or incredibly insignificant unless you're running this function thousands of times.
[/quote]
then, uhm...so what?
[quote author="Aken" date="1329724719"]
That Luhn check is actually what's crappy - maybe you should rewrite that one yourself!
[/quote]
really? care to actually explain the problems with it? I didn't want to write a Luhn Algorithm, I wanted to write a credit card name checker.
you just trying to get your post count up or something? what a waste of a post.