We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
With PHP 5.6 I'm able to do :
$redis->sInterStore(['key1', 'key2', 'key3']);
But with PHP 7.0, that generate an error : Wrong parameter count for Redis::sInterStore()
We are now forced to pass each key as a parameter.
Is this a deliberate choice or a bug ? Could you correct this, or will that stay this way in the next future ?
We use arrays like this a lot, so we cannot move to PHP7 until we pass this (or correct our code if it's a deliberate choice of yours).
Thank you for your work !
The text was updated successfully, but these errors were encountered:
Allow sInterStore to take one arg (as it could be one array)
f24fc9f
Addresses #748
Go ahead and try it now. I had the minimum argument count to sinterstore set to 2 arguments, but it could be one array with multiple arguments.
Sorry, something went wrong.
That issue as been reopened by an other commit.
Argument needs to be set from 2 to 1 again.
Thanks
d01966b
No branches or pull requests
With PHP 5.6 I'm able to do :
$redis->sInterStore(['key1', 'key2', 'key3']);
But with PHP 7.0, that generate an error : Wrong parameter count for Redis::sInterStore()
We are now forced to pass each key as a parameter.
Is this a deliberate choice or a bug ?
Could you correct this, or will that stay this way in the next future ?
We use arrays like this a lot, so we cannot move to PHP7 until we pass this (or correct our code if it's a deliberate choice of yours).
Thank you for your work !
The text was updated successfully, but these errors were encountered: