Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on PHP 5.3.3 hangs on numeric value 2.2250738585072011e-308. Parent comment
I usually do something like:
$id = isset($_GET['id']) ? (int) $_GET['id'] : 0;
There are no comments on this comment yet.
I usually do something like:
It has to be treated as a float to be a problem, not as an int.