I stumbled upon a very strange bug in PHP; this statement sends it into an infinite loop: <?php $d = 2.2250738585072011e-308; ?> (The same thing happens if you write the number without scientific notation — 324 decimal places.) I hit this bug in the two places I tested for it: on Windows (PHP 5.3.1 under XAMPP 1.7.3), and on Linux (PHP Version 5.3.2-1ubuntu4.5) — both on an Intel Core Duo processo