ID: 23557 Updated by: [EMAIL PROTECTED] Reported By: joel at alpsgiken dot gr dot jp -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: freeBSD (and others) PHP Version: 5CVS-2003-05-08 (dev) New Comment:
already introduced in 4.3.12, PHP 5.0.5+ : PHP_INT_MAX (LONG_MAX from limits.h) PHP_INT_SIZE (4 on 32 bit, 8 on 64 bit (sizeof(long))) constants The reason for using "long" as type is that internally the integers (in PHP sense) are stored by PHP as long-s. Previous Comments: ------------------------------------------------------------------------ [2003-05-08 23:30:23] joel at alpsgiken dot gr dot jp This is just a simple request for a header or a class that allows access to operational parameters like the bit width and max/min values of integral types, etc. If there's something a rusty C programmer with a few months of php under his belt could do to help on it, let me know. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23557&edit=1