Skip to content

Memcached::setMulti(): failed to set key on PHP 7 #260

Closed
@oligriffiths

Description

@oligriffiths

Hi

On PHP 7 I'm getting the following error:

Memcached::setMulti(): failed to set key

$memcached = new Memcached('mcrouter_pool');
$memcached->addServers([['127.0.0.1', 11211]]);
$memcached->setMulti(['foo' => 'bar'], 500);

However on PHP 5 I get no error. Has the behavior changed that it raises an E_WARNING in PHP 7?

Is this a known issue?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions