-
Notifications
You must be signed in to change notification settings - Fork 326
Signature change in PHP7 branch getMulti #229
New issue
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
Comments
Correct, api.php is not up to date regarding latest changes. PRs are welcome |
Well beside the api.php, this should also be mentioned in the changelogs - since those are breaking changes. You need to consider this, before making this live - this will need actions on all platforms implementing memcache. Is that all by intention - it seems rather ,it slipped through unnoticed |
It is mentioned in the changelog in package.xml. It is by intention as it resolves the issues in #126 |
#248 seems to be related to this |
This is documented now. |
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) ?
The text was updated successfully, but these errors were encountered: