[SOLVED] Get the maximum integer value available?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

[SOLVED] Get the maximum integer value available?

Post by Chris Corbyn »

Is there a way to reliably get the highest possible integer value that the system can handle in PHP? Like Java's Integer.MAX_VALUE?

EDIT | Sorry, I should have told myself to lmgtfy. It's PHP_INT_MAX.
Post Reply