Re: Singleton Pattern?

From: Date: Thu, 18 Mar 2004 22:54:38 +0000
Subject: Re: Singleton Pattern?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-26570@lists.php.net to get a copy of this message
8-| ...posted to the wrong address... Hi Paul, that's simple because of an PHP4 bug. Either assign the object to $obj by value, or don't use a static method variable for implementing the singleton pattern in your package. Regards, -- mike(@)php.net

« previous php.pear.dev (#26570) next »