Skip to content

Conversation

@cmb69
Copy link

@cmb69 cmb69 commented Nov 30, 2021

For LLP64, a long is 32bit, what causes 041.phpt to fail on 64bit
Windows. However, as of PHP 7.0.0, integers are stored as zend_long
by the engine, so we can fix that test failure.


If that was the only issue regarding long, I think this patch would be okay. However, there are a lot more issues (and some are way more serious, such as passing a long* to zend_parse_parameters()), so there'd need to be an abstraction layer. Or maybe, consider to drop support for PHP < 7.0.0.

For LLP64, a `long` is 32bit, what causes 041.phpt to fail on 64bit
Windows.  However, as of PHP 7.0.0, integers are stored as `zend_long`
by the engine, so we can fix that test failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant