Sitelet https://github.com/phpredis/phpredis/issues/748
Skip to content

PHP7 - sInterStore no longer accept an Array of keys #748

Description

@giviz

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 !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions