Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
marcofiset
on May 4, 2015
|
parent
|
context
|
favorite
| on:
PHP: md5('240610708') == md5('QNKCDZO')
Who tries to increment strings anyway? What is your point here?
mikeash
on May 4, 2015
|
next
[–]
Given how happy PHP is about converting strings to integers on demand, it would be pretty easy to take string input intended to be a number, forget to actually convert it, and go around using it happily until one day you accidentally set off a bomb.
BasDirks
on May 4, 2015
|
prev
|
next
[–]
Yeah, who would do that? Nobody. So why the _ is it possible in the first place?
pionar
on May 4, 2015
|
prev
[–]
because PHP is dynamically typed, it's easier to accidentally increment a string.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: