php-src
php-src copied to clipboard
Unify `integer` range across platforms
Description
Currently integer type is platform dependent and has limited range on 32b platforms.
This is a feature request for PHP 9.0 to unify the range to -2^63 - 2^63-1.
I belive the unified behaviour is worth of a small performance sacrifice. Performance is every day cheaper and the real beaty of PHP is that the language abstracts the underlaying system differences.
related PR: https://github.com/php/php-src/pull/19079