Closed dbu closed 8 years ago
Good catch! Thank you very much.
The documentation of the memcache(without "d") pear plugin states that the TTL is the fourth parameter. I verified this in the C source code.
uh. is that memcache or memcached? but i am pretty conclusive that the version i tested as well as the interfaces in the codegen folder indicate the 3rd parameter really is the lifetime and not flags.
Ah.. yes, the older version that exposes the memcached object (not the memcache object) indeed had that order of parameters. The documentation has been adjusted to the new functionality (version 2 and up) and you must refer to the old functionality (version 1). I hope that clears things up. Nevertheless I would like to thank you for your participation, it is much appreciated!
according to the interfaces and to my testing, the lifetime comes before the options.