Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
prodigal_erik
on April 12, 2012
|
parent
|
context
|
favorite
| on:
'9223372036854775807' == '9223372036854775808'
This. PHP's "==" is yet another trap of incompetent language design and almost all code that ever used it does the wrong thing for some inputs. $x == $y && $y == $z doesn't even tell you that $x == $z, much less that $a[$x] == $a[$y].
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: