Re: Singleton Pattern?

From: Date: Thu, 18 Mar 2004 22:50:58 +0000
Subject: Re: Singleton Pattern?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11382@lists.php.net to get a copy of this message
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.general (#11382) next »