Re:PHP: md5('240610708') == md5('QNKCDZO')
by wmil on Monday May 04, 2015 @09:24AM
(#9485945)
It can happen in a few languages, but PHP is notably more aggressive in trying to convert to int.
Actually a common way to grief new websites is to try to register '0' as a username. `if (string)` is a common way to check for null, and '0' will often fail.
Actually a common way to grief new websites is to try to register '0' as a username. `if (string)` is a common way to check for null, and '0' will often fail.