News for hackers. Stuff that matters.
Re:PHP WTF: A PHP Annoyance Posted Every Day by BerislavLopac on Saturday June 20, 2009 @01:40AM (#666176)
The funny thing is that in Javascript:

12 == parseInt('012')

returns false. :)

Re:PHP WTF: A PHP Annoyance Posted Every Day by mhansen on Saturday June 20, 2009 @03:38AM (#666237)
A leading zero usually means 'this number is octal', so parseInt returns 10. Not very intuitive notation, however.