Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Jach
on Jan 4, 2011
|
parent
|
context
|
favorite
| on:
PHP 5.3.3 hangs on numeric value 2.225073858507201...
Awesome, this catches HostGator's PHP 5.3.3 (which isn't used by default, have to turn it on yourself) too. I knew there was yet another good reason for always casting expected-int input before doing anything with them... Something as simple as
mysite.com/page/1 ===> $page = 1 ===> href="/page/' . $page + 1 . '">next page
could mess you up...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: