Y
Hacker News
new
|
ask
|
show
|
jobs
by
foldor
1670 days ago
Having been out of PHP for several years now, I assume that needs a === instead of ==? It's unfortunate that we have the need for a ===, but it's no different that JS in that regard.
1 comments
tyingq
1670 days ago
The underlying issue is that while md5() thinks it is returning a hex number, if the hex number starts with 0e, php thinks it's 0^<whatever>.
link