We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the following example:
<?php $key="testkey"; $i=PHP_INT_MAX; apc_store($key, $i); var_dump($j=apc_fetch($key)); var_dump($i); var_dump($i==$j); apc_inc($key, 1); $i++; var_dump($j=apc_fetch($key)); var_dump($i); var_dump($i==$j);
We get:
int(9223372036854775807) int(9223372036854775807) bool(true) int(-9223372036854775808) double(9.2233720368548E+18) bool(false)
Don't you think we should have consistent behavior between interger overflow in cache and in PHP var ?
P.S. I haven't test, but I think APC is also affected.
The text was updated successfully, but these errors were encountered:
APC behaves the same way (3.1.15-0.6)
int(9223372036854775807) int(9223372036854775807) boolean(true) int(-9223372036854775808) float(9.2233720368548E+18) boolean(false)
Sorry, something went wrong.
fix #40 for seven
7ca5a0f
Done for seven ;)
No branches or pull requests
In the following example:
We get:
Don't you think we should have consistent behavior between interger overflow in cache and in PHP var ?
P.S. I haven't test, but I think APC is also affected.
The text was updated successfully, but these errors were encountered: