Memcached methods getMulti() and getMultiByKey() have changed in the latest pecl release. CAS tokens are no longer accepted, leading to fewer method arguments.
This PR handles the switch by using reflection to inspect (once) the methods' arguments, so that they can be called without failing on either method signature.
Memcached methods
getMulti()
andgetMultiByKey()
have changed in the latest pecl release. CAS tokens are no longer accepted, leading to fewer method arguments.https://github.com/php-memcached-dev/php-memcached/issues/229
This PR handles the switch by using reflection to inspect (once) the methods' arguments, so that they can be called without failing on either method signature.