Hi, This is fixed in trunk (possibly 1.0.10 as well).
Cheers,
-Brian
On Jul 22, 2012, at 11:21 AM, [email protected] wrote:
> Status: New
> Owner: ----
> Labels: Type-Defect Priority-Medium
>
> New issue 281 by [email protected]: Cant store \Memcached objects in global
> variables
> http://code.google.com/p/memcached/issues/detail?id=281
>
> What steps will reproduce the problem?
> 1. construct a \Memcached object, call addServer, and save the variable in a
> global
> 2. define a global in a separate namespace, in a class later during runtime
> 3. call any \Memcached method
>
> What is the expected output? What do you see instead?
> Call to the instance's Memcached::getStats() method throws "Memcached
> constructor was not called" even though the constructor was called. It
> appears that the global no longer has a valid \Memcached instance
>
> What version of the product are you using? On what operating system?
>
> Ubuntu 11,
> libmemcached version => 0.40
> latest from apt package php-memcached
>
>
signature.asc
Description: Message signed with OpenPGP using GPGMail
