archives
The worst way to check odd/even ever.
Submitted by phrax on Sat, 2005-03-12 12:03. Hall of FameAn anonymous user sent this in. The source of the source is unknown. There hasn't been much activity here since I've been quite busy, and writing stuff up for MostGeek.
I gotten quite a few PHPWTFs on how programmers check if a number is odd or even. This one beats the original post, no competition.
» 2 comments | read more