php-src icon indicating copy to clipboard operation
php-src copied to clipboard

Unify `integer` range across platforms

Open mvorisek opened this issue 4 years ago • 21 comments

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.

mvorisek avatar Feb 01 '22 10:02 mvorisek

related PR: https://github.com/php/php-src/pull/19079

mvorisek avatar Jul 09 '25 15:07 mvorisek