note 113442 deleted from reserved.constants by peehaa

From: Date: Sun, 13 Oct 2013 12:33:02 +0000
Subject: note 113442 deleted from reserved.constants by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196544@lists.php.net to get a copy of this message
Note Submitter: espertalhao04 at hotmail dot com ---- here is one solution to calculate PHP_INT_SIZE, PHP_INT_MAX and PHP_INT_MIN : <?php define('PHP_INT_SIZE',4+4*!!(255<<63)); define('PHP_INT_MIN', 255<<(PHP_INT_SIZE*8)-1); define('PHP_INT_MAX',~PHP_INT_MIN); ?> PHP_INT_MAX and PHP_INT_SIZE are not a must to define, if your system already has support for them.

« previous php.notes (#196544) next »