php7 memcached getMulti

来源:互联网 发布:三维家居设计软件 编辑:程序博客网 时间:2024/05/04 16:21
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
0 0