2,147,483,647 + 1 = 2,147,483,648

I love PHP.  For starters, it doesn’t have any of those pesky “compiler errors” other languages have.  Just think how much time I would have wasted over the last six years if I had to fix my errors before running my programs!

Plus, PHP doesn’t buy into the idiotic notions that integers have “maximum” values.  Other languages throw around fancy claims like “signed 32-bit integers can’t be larger than 2,147,483,647.”  Ha!  Real programmers know that’s only because the language designers were lazy! PHP respects our intelligence.  It’ll tell you the “maximum” integer value, but if you need a bigger number, just ask for it!

echo PHP_INT_MAX . ' ' . (PHP_INT_MAX + 1); 
// Produces: 2147483647 2147483648

(But seriously folks — I know other languages will coerce up to a 64-bit integer when the need arises.  MySQL does, for one.  I still laugh at the idea that I can write “max + 1” and have it actually work.)