Skip to content

Signature change in PHP7 branch getMulti #229

Closed
@EugenMayer

Description

@EugenMayer

Seems like the signature changed

Warning: Memcached::getMulti() expects at most 2 parameters, 3 given

code
$results = $mc->getMulti($full_keys, $null, Memcached::GET_PRESERVE_ORDER);

Seems like it was allowed and has not been updated here:

https://github.com/php-memcached-dev/php-memcached/blob/php7/memcached-api.php#L196

But not according to the code, it has been removed (cas_tokens)

https://github.com/php-memcached-dev/php-memcached/blob/php7/php_memcached.c#L3732

Maybe this is related to #214 (comment) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions