-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
SIZEOF_ZEND_LONG more accurately indicates the size of PHP's integer values, while SIZEOF_LONG likely points to the platform itself (may not necessarily match). Preferring SIZEOF_ZEND_LONG may avoid some issues on Windows, as found while working on AppVeyor testing in PHPC-1131.
This is also the real value of PHP_INT_SIZE, which we frequently consult in tests.
This constant dates back to 28b7a03 and is available in all versions of PHP 7.
- is related to
-
PHPC-1131 Do not compile php.exe for Appveyor builds
- Closed